commit hash at time of review: 3713a89f96b7b0a1d7ffa2daf163e1fbe3c9d31d
L8: I don’t have a problem with the more lax base permissions with this recommendation, but it should likely be in the install message as well.
L17, L32: should be
#channelName instead of
@channelName in the docstring
L20: Should use ctx.bot.send_filtered for passing user input.
- potential exception if you confirm the user would normally be able to mention everyone there, and confirm that as the intent with the user.
L1, L29: This should be done using
aiohttp instead of
- This is already a dependency, so you don’t need to worry about adding to your requirements, but it will prevent this from blocking other bot actions.
L43: looks like you forgot to send the formatted insult around this line.
- cog does not work as a result
should be :
killer/info.json: I think a few of the commands here warrant warning the user in install message of potentially objectionable content. There’s no reason to get rid of the commands, but users installing this shouldn’t end up surprised by it as a result.
User’s of the original cog will find their size has changed. You can go along with that, but given you are calling it a successor to 26’s work, I’d suggest using
str(user.id) instead of
user.id for random seeding for consistency between v2 and v3 (Optional fix, recommendation only).
L34: remove the semicolon.
General formatting: 2 spaces for an indent technically works, but convention with python is 4 spaces or use tabs. Recommend changing this for the file, but it’s not a requirement.
If you have any questions about the requested changes, feel free to ask.