use of discord.AllowedMentions
This commit is contained in:
@@ -88,7 +88,9 @@ class Scanner(ABC):
|
|||||||
# Start computing data
|
# Start computing data
|
||||||
async with message.channel.typing():
|
async with message.channel.typing():
|
||||||
progress = await message.channel.send(
|
progress = await message.channel.send(
|
||||||
"```Starting analysis...```", reference=message
|
"```Starting analysis...```",
|
||||||
|
reference=message,
|
||||||
|
allowed_mentions=discord.AllowedMentions.none(),
|
||||||
)
|
)
|
||||||
total_msg, total_chan = await logs.load(
|
total_msg, total_chan = await logs.load(
|
||||||
progress, self.channels, fast="fast" in args
|
progress, self.channels, fast="fast" in args
|
||||||
@@ -141,7 +143,7 @@ class Scanner(ABC):
|
|||||||
await message.channel.send(
|
await message.channel.send(
|
||||||
response,
|
response,
|
||||||
reference=message if first else None,
|
reference=message if first else None,
|
||||||
mention_author=False,
|
allowed_mentions=discord.AllowedMentions.none(),
|
||||||
)
|
)
|
||||||
first = False
|
first = False
|
||||||
response = ""
|
response = ""
|
||||||
@@ -150,7 +152,7 @@ class Scanner(ABC):
|
|||||||
await message.channel.send(
|
await message.channel.send(
|
||||||
response,
|
response,
|
||||||
reference=message if first else None,
|
reference=message if first else None,
|
||||||
mention_author=False,
|
allowed_mentions=discord.AllowedMentions.none(),
|
||||||
)
|
)
|
||||||
# Delete custom progress message
|
# Delete custom progress message
|
||||||
await progress.delete()
|
await progress.delete()
|
||||||
|
|||||||
Reference in New Issue
Block a user