소스 검색

fixed wrong type in the list command being queried.

tags/v2.2.0
Roxie Gibson 5 년 전
부모
커밋
37cbf0390c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      roxbot/cogs/customcommands.py

+ 1
- 1
roxbot/cogs/customcommands.py 파일 보기

@@ -282,7 +282,7 @@ class CustomCommands(commands.Cog):
with db_session:
no_prefix_commands = select(c for c in CCCommands if c.type == 0 and c.guild_id == ctx.guild.id)[:]
prefix_commands = select(c for c in CCCommands if c.type == 1 and c.guild_id == ctx.guild.id)[:]
embed_commands = select(c for c in CCCommands if c.type == 3and c.guild_id == ctx.guild.id)[:]
embed_commands = select(c for c in CCCommands if c.type == 2 and c.guild_id == ctx.guild.id)[:]

def add_commands(commands, paginator):
if not commands:

Loading…
취소
저장