GithubHelp home page GithubHelp logo

larssieboy18 / timezone-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from midblue/timezone-bot

0.0 0.0 0.0 5.68 MB

๐ŸŒ Timezone notifier bot for Discord

Home Page: https://discord.com/api/oauth2/authorize?client_id=437598259330940939&permissions=68672&scope=bot

Procfile 0.02% TypeScript 99.98%

timezone-bot's Introduction

timezone-bot

A simple timezone bot for Discord servers.

Update Jan 2022:

tl;dr the public TimezoneBot is shutting down because Discord neutered it.

Discord changed their bot rules such that seeing message contents requires special permission. I applied for this permission, and was rejected with illogical reasoning. Since one of the primary purposes of this bot โ€” to auto-reply to @messages โ€” will become impossible, I've decided to shut down the publically hosted bot rather than continue to spend money on hosting a husk of the bot I've envisioned.

But! The good news is, you're welcome to run your own copy of the bot, which will work fully as envisioned as long as you don't pass 100 servers! The guide for self-hosting is available here: https://github.com/midblue/timezone-bot/blob/master/instructions%20selfhosting.md

Please be aware that I will not be actively developing the bot going forward. Feel free to fork your own versions for new features.

I'd like to give a special shout out to all the fantastic people who have supported the bot's development, and all of the great folks on the support server and elsewhere who have given advice, input, and support along the way. Thanks for understanding, and have a great day, wherever in the world you may be!



Allows users to set their timezone, then passively notes timezones when appropriate.

Commands:

  • t!time <user, role, or location name> to see the current time for a specific user or in a specific place.
  • t!timein <location name> to see the current time in a specific place.
  • t!set <city or country name> to set your own timezone. (UTC codes also work, e.g. 'UTC+3', 'UTC-8')
  • t!users or t!all to see all users' set timezones. (use t!here to restrict to the current channel)
  • t!count to see timezone counts. (t!count here works)
  • t!role <@role or role name>to see the timezones for all users in a role.
  • t!at <time> <user or location> to see all users' times from the viewpoint of a specific time and place. Day of the week is optional. (i.e. t!at Mon 5PM Cairo. Use t!at here <time> <user or location> to restrict to the current channel.)
  • t!me to see your set timezone.
  • t!removeme to delete your set timezone.
  • t!stamp <time> <user or location> - Generate copyable Discord timestamps.
  • t!info or t!help to show a message listing all commands.

Admin-only commands:

  • t!prefix <new prefix> to set the prefix for bot commands. Defaults to "t!"
  • t!setuser <@user> <location name> - Set the timezone for a user in the server.
  • t!removeuser <@user> - Remove the timezone for a user in the server.
  • t!format - Toggles between 12 and 24-hour format.
  • t!autorespond - Toggles auto-responses on/off.
  • t!adminonly - Toggles admin mode on/off. (Only server admins can invoke most commands)
  • t!deletecommand - Toggles bot command deletion on/off.
  • t!deleteresponse <number of seconds (optional)> - Sets bot response deletion time. Don't add a number to turn off.
  • t!suppresswarnings - Toggles bot admin warnings on/off.

(Most commands can be run by using the first letter of the command, e.g. 't!s Chicago' to set. 't!time' becomes 't!t'.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.