Fixed some bugs
This commit is contained in:
@@ -69,7 +69,7 @@ class Settings(commands.Cog, name="settings"):
|
|||||||
async def prefix(self, ctx: commands.Context, prefix: str):
|
async def prefix(self, ctx: commands.Context, prefix: str):
|
||||||
"Change the default prefix for message commands."
|
"Change the default prefix for message commands."
|
||||||
await update_settings(ctx.guild.id, {"$set": {"prefix": prefix}})
|
await update_settings(ctx.guild.id, {"$set": {"prefix": prefix}})
|
||||||
await send(ctx, "setPrefix", ctx.prefix, prefix)
|
await send(ctx, "setPrefix", prefix, prefix)
|
||||||
|
|
||||||
@settings.command(name="language", aliases=get_aliases("language"))
|
@settings.command(name="language", aliases=get_aliases("language"))
|
||||||
@commands.has_permissions(manage_guild=True)
|
@commands.has_permissions(manage_guild=True)
|
||||||
|
|||||||
@@ -141,7 +141,7 @@
|
|||||||
"queueTitle": "即將播放的隊列:",
|
"queueTitle": "即將播放的隊列:",
|
||||||
"historyTitle": "歷史隊列:",
|
"historyTitle": "歷史隊列:",
|
||||||
"viewTitle": "音樂隊列",
|
"viewTitle": "音樂隊列",
|
||||||
"viewDesc": "現正播放:按我 點擊 ⮯\n{1}",
|
"viewDesc": "**現正播放:[點擊我]({0}) ⮯**\n{1}",
|
||||||
"viewFooter": "頁數:{0}/{1} | 總長度:{2}",
|
"viewFooter": "頁數:{0}/{1} | 總長度:{2}",
|
||||||
|
|
||||||
"pauseError": "播放器已經暫停。",
|
"pauseError": "播放器已經暫停。",
|
||||||
|
|||||||
Reference in New Issue
Block a user