Skip to content

winniiew/ReminderDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reminder Bot for Discord 🕑

This is a custom Reminder Discord bot

Install Directly on a local computer

  • Create a Bot account and invite the Bot to a Discord server

  • Add main.py and keep_alive.py to a new repository on Replit

  • Replace TOKEN with the Discord Bot token

Replit

Run the following in the bash shell:

pip install discord

pip install python-dateutil

pip install buttons

pip install aioschedule

pip install tzlocal

pip install pytz

  • Then run main.py, this should generate a URL https://reminderbot.winniiew.repl.co/ that can then be used in UptimeRobot to host the Discord bot.

Uptime Robot

  1. Click + Add New Monitor
  2. Select HTTP(s) under Monitor Types
  3. Paste the generated URL
  4. Change the monitoring interval to 5 minutes

reminder2

Change the timezone by following the format below

tzinfos = {"<COUNTRY_CODE>": tz.gettz("<TZ_NAME>")}

dt = parser.parse(f"{dt} <COUNTRY_CODE>", tzinfos=tzinfos)

<COUNTRY_CODE> with the desired country code

<TZ_NAME> with the timezone database name matching the country code

Example

tzinfos = {"US": tz.gettz("America/Los_Angeles")}

dt = parser.parse(f"{dt} US", tzinfos=tzinfos)

Invite Bot to join server

https://discord.com/api/oauth2/authorize?client_id=983852362269609984&permissions=534723897408&scope=bot

Commands

/remindme 15m Laundry

/remindme 16:30:00 Feed the dog

Units Supported

s second seconds

m minute minutes

h hour hours

d day days

w week weeks

mo month months

y year years

About

Custom Reminder Discord bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages