mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
chore: fix wording and update statuses
This commit is contained in:
2
bot.py
2
bot.py
@@ -184,7 +184,7 @@ class DiscordBot(commands.Bot):
|
|||||||
"""
|
"""
|
||||||
Setup the game status task of the bot.
|
Setup the game status task of the bot.
|
||||||
"""
|
"""
|
||||||
statuses = ["with you!", "with neo!", "with humans!", "learning rust!"]
|
statuses = ["indexing sidestore docs!", "minecraft", "with humans!", "learning rust!"]
|
||||||
await self.change_presence(activity=discord.Game(random.choice(statuses)))
|
await self.change_presence(activity=discord.Game(random.choice(statuses)))
|
||||||
|
|
||||||
@status_task.before_loop
|
@status_task.before_loop
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ class Warnings(commands.Cog, name="warnings"):
|
|||||||
total = await self.bot.database.remove_warn(warn_id, user.id, context.guild.id)
|
total = await self.bot.database.remove_warn(warn_id, user.id, context.guild.id)
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title="Warning",
|
title="Warning",
|
||||||
description=f"I've removed the warning **#{warn_id}** from **{member}**!\nTotal warns for this user: {total}",
|
description=f"Removed the warning **#{warn_id}** from **{member}**!\nTotal warns for this user: {total}",
|
||||||
color=0x7289DA,
|
color=0x7289DA,
|
||||||
)
|
)
|
||||||
embed.set_author(name="Moderation", icon_url="https://yes.nighty.works/raw/8VLDcg.webp")
|
embed.set_author(name="Moderation", icon_url="https://yes.nighty.works/raw/8VLDcg.webp")
|
||||||
|
|||||||
Reference in New Issue
Block a user