Type / to view all commands and info on how to use them.
How to add reminder bot in discord how to add reminder bot in discord 2. You can do this in a few simple steps. About press copyright contact us creators advertise developers terms privacy policy & safety how youtube works test new features press copyright contact us creators. I just figured why that doesn't work, because you create a if statement every time so when you type /reminder 10days test, it triggers days but also triggers elif.
If you use asyncio.sleep which i don't recommend, you'll need to get the input then convert it to seconds then make the function sleep. Discord_token= โpaste your botโs token here without quotes.โ. Find the best discord moderation bots for your server with our discord bot list.
Two kinds of setup options: You can set a specific channel, user/role ping, specific message and your trigger. +help will provide you more info for a.
There are loads of awesome tips and tricks, like using chat. Then i put the second variable in the async.io function. After a reminder is set, reminder bot will wait until the set time and send a message which contains your reminder.
Use s!edit {message id} to edit a specific message and s!delete {message id} to delete a scheduled message. Open discord and visit the channel where you want to add a bot. Once done, save this particular file as bot.js within the same.
Before every command, you will have to add 'pls' as a prefix. This bot is inspired by the reddit remindme bot and allows similar usage. Use s!list command to check all the scheduled messages.