c-schicho / discordbot Goto Github PK
View Code? Open in Web Editor NEWA discord bot which reminds to hydrate and stretch.
License: MIT License
A discord bot which reminds to hydrate and stretch.
License: MIT License
change the bots avatar in order to make it look more cute.
import the message file as Msg
in order to make it more obvious what's a message and to improve readability.
the command on
throws occasionally exceptions when the user calls the on
and off
command one after the other within a short period of time, see the screenshot below. when this is happening, the program does not crash, however, the bot is not responding and, thus the user has no information about what's happening.
off
command, change remind_user.stop()
to remind_user.cancel()
on
command.update the readme file once all tickets in the milestone are done
bot.py
and one which holds the necessary token.update the readme file once all tickets in the milestone are done
update the messages which is sent when the user uses the command !help
in order to explain how to interact with the bot and what it is supposed to do.
send an information about what the bot is meant for when the user uses the command !info
create some initial bot commands to allow the user to interact with the bot.
!on
should activate the bot!off
should deactivate the bot!info
should send a message to the user containing information on what this bot is meant to doupdate the readme file once all tickets in the milestone are done
create a function which reminds the user to hydrate.
note: this function should not be called by now.
the command off
throws occasionally exceptions when the user calls the on
and off
command one after the other within a short period of time, see the screenshot below. when this is happening, the program does not crash, however, the bot is not responding and, thus the user has no information about what's happening.
off
command, change remind_user.stop()
to remind_user.cancel()
off
command.change the bot name so that is sound more like a serious project.
also change / add the name in the response of the !info
command.
set_time
could throw an exceptionadd further messages to the storage in order to be possible to choose from a variety of answers
add a tinydb and store the necessary variables for the particular user there.
in the end it should be possible to store the settings of multiple users and to run a query to get this stats whenever they are needed.
before making this repository public remove the .env
and all information about it, also remove the discord link in #1 .
implement the functionality to remind the user to hydrate and stretch.
when the user activates the bot, it should remind the user on a regularly basis
for this call the corresponding functions #4 #5 every 30 minutes from the point the user activates the bot.
ensure that the bot stops reminding the user once the user deactivates it.
create a function which reminds the user to stretch.
note: this function should not be called by now.
implement a function which chooses a random reminder message which gets send to the user and call it.
this function should select the message from the corresponding storage.
!set_time
that allows the user to set a custom time gapA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.