Fix test message to use view
This commit is contained in:
parent
68603355c0
commit
7b5317f06d
@ -337,13 +337,13 @@ class LoggingCog(commands.Cog):
|
||||
await ctx.send(f"✅ Successfully configured logging to send messages to {channel.mention} via the new webhook `{new_webhook.name}`.")
|
||||
# Test send (optional)
|
||||
try:
|
||||
test_embed = self._create_log_embed(
|
||||
test_view = self._create_log_embed(
|
||||
"✅ Logging Setup Complete",
|
||||
f"Logs will now be sent to this channel via the webhook `{new_webhook.name}`.",
|
||||
color=discord.Color.green(),
|
||||
)
|
||||
await new_webhook.send(
|
||||
embed=test_embed,
|
||||
view=test_view,
|
||||
username=webhook_name,
|
||||
avatar_url=self.bot.user.display_avatar.url,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user