Commands Rewrite#41
Open
Quantiset wants to merge 6 commits into
Open
Conversation
Following Calinou#26, I thought I could chip in and sorta update it to the new branch. Now, it does need a bit of testing (I tested most commands other than the memes and bobross command) but I hope it will update the bot a bit :).
|
|
||
| @client.event | ||
| async def on_message(message: Any) -> None: | ||
| @client.command() |
Contributor
There was a problem hiding this comment.
Just a small note: This will probably eliminate the aliases !ross and !br. I think you can pass aliases into the command decorator like this:
@client.command(aliases=['ross', 'br'])I am so sorry for continually adding commits; it is my first time properly using Github so please excuse me
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following #26, I thought I could chip in and sorta update it to the new branch. Now, it does need a bit of testing (I tested most commands other than the memes and bobross command) but I hope it will update the bot a bit :).