This commit is contained in:
Bella | Nightshade 2019-03-02 04:32:38 +09:30
commit de1a67d871
2 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ def run():
print("{} servers".format(len(client.guilds)))
print("{} shards".format(client.shard_count or 1))
await client.change_presence(activity=discord.Game(name="pk;help"))
await client.change_presence(activity=discord.Game(name="kek;help"))
@client.event
async def on_message(message: discord.Message):

View file

@ -14,7 +14,7 @@ from pluralkit.system import System
def next_arg(arg_string: str) -> Tuple[str, Optional[str]]:
# A basic quoted-arg parser
for quote in "“‟”":
arg_string = arg_string.replace(quote, "\"")
@ -211,7 +211,7 @@ async def run_command(ctx: CommandContext, func):
async def command_dispatch(client: discord.Client, message: discord.Message, conn) -> bool:
prefix = "^(pk(;|!)|<@{}> )".format(client.user.id)
prefix = "^(kek(;|!)|<@{}> )".format(client.user.id)
regex = re.compile(prefix, re.IGNORECASE)
cmd = message.content