-
Notifications
You must be signed in to change notification settings - Fork 4
Foobar/development/bot #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'm not very familiar with discordpy so I'll leave the actual review up to @TrizlyBear. Line 43 in 8576c39
What is the -1 doing?
|
|
|
discordBot/main.py
Outdated
| @@ -0,0 +1,223 @@ | |||
| from discord.ext import commands | |||
| from discord import Embed, File, TextChannel, Status, CustomActivity, ActivityType, Invite | |||
| from datetime import timedelta | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already imported below:
Line 9 in 8576c39
| from datetime import datetime, timedelta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, I'll remove that
|
Code looks good and is structured well. |
|
LGTM! |
bumpthat makes a POST to/V1/bumpwith a JSON bodyinviteto 'set' the channel as the invite channel, create invite if none are found or fetch from list.