d-513 / discordio Goto Github PK
View Code? Open in Web Editor NEWA fully-featured, open-source and selfhostable discord bot.
License: GNU General Public License v3.0
A fully-featured, open-source and selfhostable discord bot.
License: GNU General Public License v3.0
rewrite the project to typescript
discord.js-commando hasnt had a commit since may, its safe to say its abandoned.
I for the past few days have been working on botcommander which is a Typescript-based lib for slash commands bots.
the current config system is messy
Make pepole able to use this bot without a server
Not sure if I'm missing something or doing something wrong, but I tried to set the bot up in docker-compose since that's how I keep my containers running, but discordio won't go up.
This is how I set it up in my docker-compose.yml:
discordio:
container_name: discordio
image: dada513/discordio
volumes:
- /opt/appdata/discordio:/dio
restart: unless-stopped
This is what I get in my logs:
internal/modules/cjs/loader.js:834
throw err;
^
Error: Cannot find module 'esm'
Require stack:
- /dio/launcher.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/dio/launcher.js:2:11)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/dio/launcher.js' ]
}
Sorry in advance if I'm doing something very obvious wrong, I'm still a Docker noob.
It's annoying to have to use older ES syntax that node supports while JS has improved so much
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.