mirror of
https://github.com/Lilac-Rose/Lacie.git
synced 2026-09-30 12:16:40 -05:00
Made it so if theres no reason for the salt it doesnt say 'for: no reason was provided'
This commit is contained in:
6
bot.py
6
bot.py
@@ -59,10 +59,10 @@ async def on_ready():
|
||||
|
||||
# Load all cogs
|
||||
await load_cogs("commands")
|
||||
await load_cogs("wordbomb")
|
||||
# await load_cogs("wordbomb")
|
||||
await load_cogs("moderation")
|
||||
await load_cogs("xp")
|
||||
await load_cogs("sparkle") # <-- Load sparkle cogs
|
||||
await load_cogs("sparkle")
|
||||
|
||||
# Sync slash commands after loading cogs
|
||||
try:
|
||||
@@ -88,7 +88,7 @@ async def reload(ctx):
|
||||
await load_cogs("commands")
|
||||
await load_cogs("moderation")
|
||||
await load_cogs("xp")
|
||||
await load_cogs("sparkle") # Reload sparkle cogs
|
||||
await load_cogs("sparkle")
|
||||
|
||||
try:
|
||||
synced = await bot.tree.sync()
|
||||
|
||||
@@ -27,7 +27,7 @@ class SaltCommand(ModerationBase):
|
||||
return
|
||||
|
||||
guild_targets[member.id] = reason
|
||||
await ctx.send(f"{member.mention} got salt thrown at them for: {reason or 'no reason provided'}")
|
||||
await ctx.send(f"{member.mention} got salt thrown at them" + (f" for: {reason}" if reason else ""))
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_message(self, message):
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user