dreamopk.blogg.se

Commands for rythm bot
Commands for rythm bot




commands for rythm bot

I even did the unthinkable and set the scope to bot and permissions to admin on the Discord Developer site, so how do I go about getting my bot to prune the messages so I don't have to?Īs aforementioned, you generally cannot run other bots' commands using your own. When I type in -prune, it instantly works. Initialize bot by connecting to the serverĬurrently, it outputs the message -prune to each channel successfully, however, the rhythm bot/discord server seems to ignore the message as a command and instead, treats it as plain text. Event listener when a user connected to the server.Ĭonsole.log(`Logged in as $!`) Ĭ(function(el)Ĭ(el.id).send('-prune') The idea is to prune the Rhythm bot's message history without having to do it myself: // Run dotenv

commands for rythm bot

I've created a simple bot that sends a message to every text channel on my own server at if the time equals midnight.






Commands for rythm bot