mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
Update settings.py
This commit is contained in:
@@ -155,6 +155,7 @@ class Settings (discord.Cog) :
|
|||||||
ctx.guild.me.edit(nick=pretend_to_be)
|
ctx.guild.me.edit(nick=pretend_to_be)
|
||||||
c.execute("UPDATE data SET pretend_to_be = ? WHERE guild_id = ?", (pretend_to_be, ctx.guild.id))
|
c.execute("UPDATE data SET pretend_to_be = ? WHERE guild_id = ?", (pretend_to_be, ctx.guild.id))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
await ctx.guild.me.edit(nick=pretend_to_be)
|
||||||
return
|
return
|
||||||
|
|
||||||
@discord.slash_command(name="enable_tts", description="Enable TTS when chatting")
|
@discord.slash_command(name="enable_tts", description="Enable TTS when chatting")
|
||||||
|
|||||||
Reference in New Issue
Block a user