dotobot's Issues
Use KDL for configuration files
Not really sure if these can be dynamically updated but its def worth looking into
Default activity messages
Currently when the bot gets redeployed there's no more activity messages and this makes me sad.
Create some default activity messages for the bot that it can cycle through. Make as fancy as you please
give restart the reload alias as well
Switch to an actual database
Using Postgress and Tortoise the goal is to hook up dotobot.py to an actual database instead of using sketchy json files. We might make a thin wrapper between Tortoise and dotobot.py so we can swap our ORM when needed? /shrug it might also avoid quite the code repetition.
- Create Models for the user entity e.g. banning, Quotes to store our main functionality.
- Update homicide module to support the new database
- Update quotes module to support the new database
- Configure Docker so that a database instance actually runs when deploying
- Thin wrapper for Tortoise
Docker doesnt use the right storage template
This breaks the V and X command
!isItGay
Reimplement !isItGay based on the legacy interactions, however results should be randomised this time since its 2021
Write an actual readme
The current read-me, although simple, could be considered quite unusable.
- Description of the project
- Contributors to the project
- Example images
- Goal of the project
- Fancy badges?
Security
We need to fix that random admins can shutdown the bot :)
Standardize import order
also undo what Bram did and move functional outside of imports
Streaming third party audio
Trying to emulate a bot like rhythm. We can search the web to find a result or play music stored on the server itself.
- Bot returns a list of options that can be picked from.
- An online source gets converted to a playable audio stream.
- Music files can be added to server
- Music can be added to a queue which gets played automatically.
General improvements to help message
The default help message burns the eyes and looks like it was made by a dev with 2 hours left on the clock.
Although it supports our basic purposes it would be nice if we have working descriptions for each command and use embeds to easily add colour.
We can look into autoformatters to do this for us: https://pypi.org/project/discord-pretty-help/ or try to write it ourselves.
- Add descriptions to all functions and have them show up in !help
- Use embeds for fancy markup and colours
SWITCH DATABASE TO SQLITE LESGOOOO
Right now we're using a json dump "database", which is not nearly cool enough. Therefore, I suggest we switch over to SQLite (or some other trendier DBMS). This has the added benefit that we might not actually have to mount a storage folder on the server.
Standardize logging
mainly what should be info, warnings, errors and debug
speed dating is back
but now we're just matching random people and god knows this functionality is useless
Fix pinging permissions for pinging a VC
Generate letsplay aliases
Games like Counterstrike global offensive, Divinity original sin, deep rock galactic are usually refered to as CSGO, DOS, and DRG. It might be smart to generate these aliases dynamically
Switch to Poetry?
Might be nice, but a simple requirements.txt is fine for now
Create a Systems module.
Extension loading commands should not be in main.py, create an extension that is always loaded and will implement !start, !stop, !update, !restart.
- System cog created and inserted
- Functionality implemented in cog
- Cog init starts all modules in mainconfig
- functionality removed from main.py
Join clips
Allow users to submit a 5sec audioclip that will be played whenever they join a voice channel.
Quote all formatting
Just like with the help message !quote all could use a new lick of paint. An easy way to not clog up the entire screen is by dumping a .txt file or in any other language with which we can manipulate syntax highlighting to maybe make the file more interesting.
Alternatively a lot of embeds can be used. Can we make an embed scrollable?
Random daily quotes
"ah the memories"
Would have to be an activated feature.
Fix voice module
Currently the voice module seems to not be functioning. Audio files have been lost and the module in general is defective. It should be updated to supply us with memes whilst we're in voice. Preferably new memes can be added easily (Dashboard where you at?).
- Bot can connect to a vc
- Bot can play audio in a vc
- Bot is hooked up to join a vc on specific messages, not command.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.