Add some comment
This commit is contained in:
parent
0a9420d156
commit
6074aa4d91
@ -152,6 +152,7 @@ class FjerkroaBot(commands.Bot):
|
||||
if response.staff is None:
|
||||
response.staff = f"User {message.user} try to hack the AI."
|
||||
|
||||
# If there is a staff message, send it to the staff channel, with typing indicators
|
||||
if response.staff is not None and self.staff_channel is not None:
|
||||
async with self.staff_channel.typing():
|
||||
await self.staff_channel.send(response.staff, suppress_embeds=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user