fisher60 / friendo-bot Goto Github PK
View Code? Open in Web Editor NEWA Discord Bot that is just a good Friendo
License: MIT License
A Discord Bot that is just a good Friendo
License: MIT License
This command is confusing and needs better documentation. Need to remove the extra .
in the description, as well as any other improvements to make this easier.
Command that segments an image into the specified format.
Using the embed makes the help command unreadable on mobile.
I havent really thought much on this, but I just wanted to add some feature that will manage projects shared in the server.
the fix is very simple, so I could do it fairly quickly
Create a blackjack game for the bot, should be in the fun.py
cog
Reason for the feature:
Just a minor feature that needs some assistance because I lack the experience in making discord bots.
The bot should have a dice roll command to accompany the coin flip command.
We now have a custom help command, but it depends on being hard-coded. Changes should be made to allow the custom help command to behave similarly to the built-in help command. It should display the command Cog name, commands available, and the brief.
The help command should also provide the description of the command when entering something like .help hello
command to link to this github
Bot should not send the "Reminder for" message if invalid reminder, need to catch this before starting coroutine.
Create api wrapper for reddit to pull some memes from related topics. This should serve a single meme upon request (with a command)
This happens if a user inputs valid keywords in an invalid way to the bot. The bot expects one time format (i.e .reminder 1 hour do work
). If an error is encountered, the reminder count should be reset. But if the args for the command contain all individually valid args, then the command will not error, but a reminder is not properly created.
I want a quote command, gives good quote embeds, and i will work on this myself
Has someone begun work on a music search command? I could try starting something like that if no one has yet. Looking around it seems like I could do some decent stuff with the iTunes API
spongify
I will be uploading it to my fork until it's complete.
Rust
Python
C
C++
a math command with small math functions, also i will be working on this right away
a factorial command would be neat
We need a stable, long-term solution to automatically manage the version number. This is important to see what version of the bot is running/is being worked on.
pre-commit
hooks are a great way of ensuring that source code is properly linted before any commits happen. This would also render formatting commits unnecessary as it is enforced by said tool
The pre-commit
can be added to the Pipfile
using pipenv install --dev pre-commit
and initialized using pipenv run pre-commit install
once a .pre-commit-config.yaml
file is configured. Before committing changes, pre-commit
automatically runs scripts to make sure that the files are properly linted, as such, they would also add new changes to said files; the snippet below shows the general workflow involving pre-commit
hooks
$ git add .
$ git commit -m "Update bot.py" # Let's say the pre-commit hook fails
$ git add . # Re-add the changed files
$ git commit -m "Update bot.py" # Commit again
Logs should be sent to a file, use this reference for logging info
As for now, its only on C
In order to make the project more accessible to developers, we should allow the disabling of api key dependent cogs in settings.py. We can include commands to disable each cog when running the bot as well. This will allow a user to work on an isolated part of the bot without needing to worry about breaking anything that depends on an account for an api.
An example would be to run python -m bot --no-api
or something similar.
Play the game with the bot to guess the right number within "n" rounds or you lose.
The game will be played in private messages.
Edit: After a few feedbacks, no direct messages and make bound default to 1-100.
Create a custom help command/help output for the bot. The embed should be cleaner than the default and color coded.
Allow an abstract image to be generated based on a seed and options.
This file uses the requests
library.
I'm changing things to where the bot initializes a aiohttp.ClientSession
object at startup and then uses async with self.bot.session.get(url) as resp:
or async with self.bot.session.post(url, data=data) as resp:
to request/post from/to APIs.
I have no idea why, needs to be looked into, probably a simple error somewhere in cogs/utilities
Initial message sent, but it appears followup notifications may be getting overwritten/ignored
pipenv
has the ability to separate development dependencies from the project dependencies. This issue aims to resolve the separation between these two groups of dependencies. For future reference, dependencies can be managed like the following:
$ pipenv install discord.py # To install project dependencies
$ pipenv install --dev pylint # To install development dependencies
$ pipenv uninstall requests # To remove dependencies
Using the "Doge" meme with 5 text boxes fails with "too many text entries"
Getting the following errors on docker-compose up
:
bot_1 | ImportError: libGL.so.1: cannot open shared object file: No such file or directory
bot_1 | ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
Will provide an updated Dockerfile
momentarily.
.todo_list
does not work sometimes. It might be because the wrapper uses asyncio.sleep()
which executes the code prematurely.
Edit: we found out that it is not the asyncio.sleep()
since it just a wrapper that executes the code after the sleep timer. The problem is we don't know where the error came from. I will read the code more.
If an input causes an error on reminders, that user can no longer set reminders. Also: a user should not receive a reminder confirmation if the reminder fails.
i already added it, vester needs it
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.