Skip to content

Discord bot to keep a centralized clock for a server

Notifications You must be signed in to change notification settings

jayfreddy1994/server-time-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server Time Bot

Get started


To add the bot to your server, make sure you have administrative permissions and go to https://discord.com/oauth2/authorize?client_id=832760856302845984&scope=bot&permissions=3088

Once the bot has been added, enter this command to start the clock (replacing "America/Denver" with your desired timezone): clock--set_timezone America/Denver

Valid timezones can be found at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones in the "TZ database name" section.


Commands

prefix="clock--"

clock--set_timezone (timezone name) [twelve_hour]

Starts the server clock given a valid timezone name as shown at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones in the "TZ database name" section and can optionally show time in 12 hour clock.

clock--stop

Stops the server clock and deletes the associated voice channel

clock--help

Displays help message showing available commands.

Due to Discord Rate Limits, the clock will always be slightly off.

About

Discord bot to keep a centralized clock for a server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%