I'm Anand, an undergraduate computer science student from India.
Reach me on:
- discord: @anand2312
- email: [email protected]
A small Discord bot
License: GNU General Public License v3.0
I'm Anand, an undergraduate computer science student from India.
Reach me on:
Is your feature request related to a problem? Please describe.
Reminders set with the .remind
/.notes -c <time>
command are lost on shutdown. These need to be persisted by adding them to the database, and then reloading them on start-up.
Describe the solution you'd like
Tasks need to be persisted by adding them to the database on bot shutdown, and then reload them on start-up.
The system for auto word selection off of the internet is absolutely terrible right now
Firstly it uses 2 modules installed off of PyPI (pip), random-word and PyDictionary. More often than not, the random word generated doesnt pull any results for meanings from PyDictionary. And when there is no results, I have the command auto-restart, but this gets annoying after 10+ tries to get a word.
BOTH these modules use blocking API calls, based on requests
(or unirest
, I'm not sure which, but it is blocking). This means that while the bot is trying to get results, it can perform NO OTHER COMMAND.
The easiest solution seems to be switching to the WordsAPI (it has a limit of 2500 free requests per day which we can stay under), and then use the aiohttp
library to make requests to it, so that the bot isn't blocked by the API request.
Can u help me in my bot .
To change it from sqlite to mongodb database
If u i will add u in my team
If u please respond
Switch to Motor ๐
Currently the database holds data for each user, and the member's username#discriminator
is used to identify each person.
Switch out the username for user IDs (which unlike usernames will remain constant).
Step 1: Store guild-specific timezones in the guilds
table - DEFAULT UTC
Step 2: Run the task loop more than once a day - twice/thrice maybe
Step 3: Pull all upcoming birthdays and schedule them to be wished at their corresponding times - the difficult part
Step 4: Profit
The bot is running on a server from America, so the dates are delayed on the birthday wishes.
Can't use a closer server cuz they're not as cheap.
A fix would be to compare the dates after adding a correction factor to the date in America so that the wish is on a normal time for us.
The check function that waits for a reaction from the user isn't limited to just that one message, but instead checks all messages for a reaction.
This means that the author could potentially add a reaction which was a valid response to the question on another message, and the bot would count it as a response.
.ttt has indexes as inputs currently.
this is problematic for 2 reasons:
There are 2 possible solutions to this:
Is your feature request related to a problem? Please describe.
No logging now. Need logging.
Describe the solution you'd like
Bring logging.
A 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.