Fun Discord bot I guess.
- Invite link (try refreshing if it doesn't work)
- Discord Gateway Intents used:
Intents.FLAGS.GUILDS
(used to get server info),Intents.FLAGS.GUILD_MEMBERS
(used to get user info and logging),Intents.FLAGS.GUILD_MESSAGES
,Intents.FLAGS.GUILD_PRESENCES
(used to get user presence status in theuserinfo
command),Intents.FLAGS.GUILD_BANS
(used for logging, moderation commands eta June 2022)
- Anything that can run Node.js (iOS devices don't work, I tried).
- Node.js: 16.13 or newer.
- A brain and some common sense.
- Step 1: Clone this repository
- Step 2: Create a Discord application, then create a bot (MAKE SURE YOUR ACCOUNT HAS 2FA ENABLED or most shit will just crash) and get the bot token (save it somewhere and DO NOT SHARE WITH ANYONE)
- Step 3: Create a file named
.env
with the content ofDISCORD_TOKEN=YOURBOTTOKEN
(replaceYOURBOTTOKEN
with the token from step 2. Optionally, you can also put your NASA OpenAPI key in for apod (Astronomy Picture of the Day). - Step 4: Open a terminal window, cd to the folder where the repo is saved and type
npm i
. - Step 5: Type
npm start
ornode index.js
. - Enjoy!
- Type
npm run dev
- CallMeEcho and llsc12 for helping me a lot with the code, js stuff, etc
- CallMeEcho for creating this bot in the first place (this is a fork of it btw)
- APIs used in this bot: PronounDB, NASA's OpenAPIs, Inspiration API, Urban Dictionary API, Useless Facts API, Bored API, Return Youtube Dislikes API and
llsc12.mlreplaced by ytdl-core, Canister. - A big, big, big thanks to SillySock for letting me host Eider on their VPS.