浏览代码

Minor fixes

root 2 年之前
父节点
当前提交
00e00f74c0
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      bot/commands/admin.py
  2. 1 1
      bot/main.py

+ 2 - 2
bot/commands/admin.py

@@ -19,12 +19,12 @@ class Admin(commands.Cog):
 		self.bot = bot
 
 	@commands.command(
-		description="Modify channel settings",
+		description="Modify channel settings via a browser",
 		brief="Set channel specific settings via the webgui",
 		help="Sends a single-use time based token to the webportal"
 	)
 	@commands.has_guild_permissions(administrator=True)
-	async def chanset(self, ctx: commands.Context):
+	async def webset(self, ctx: commands.Context):
 
 		# Halt on ignore list.
 		if await check_ignore(self.bot.pg, ctx.author):

+ 1 - 1
bot/main.py

@@ -91,7 +91,7 @@ async def main():
 		"events.general",
 	]
 	for ext in default_extensions:
-		logging.info(f"Loading extension {ext}")
+		logging.info(f"Loading extension: {ext}")
 		await bot.load_extension(ext)
 
 	async def create_db_pool():	 # Connect to database