command_prefix=None performance hit? #488
-
@dolfies The discord.py documentation implies a performance hit for using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Also, as an aside, is the self_bot attribute still used or is that now unnecessary? I see it in some examples, but it's possible they're out of date. |
Beta Was this translation helpful? Give feedback.
-
The
|
Beta Was this translation helpful? Give feedback.
The
ext.commands
module is mostly untouched (except for removingapp_command
stuff) as it's an extension and doesn't really implement the Discord API. Whatever performance hit exists would be the same.self_bot
doesn't control authentication, it controls bot behavior. By default, the bot only responds to other users' command invocations. Withself_bot=True
, it response to only itself (the classic selfbot). Withuser_bot=True
, it responds to both.