ajout des guillemets
This commit is contained in:
parent
e44066743d
commit
1e771544aa
2
main.py
2
main.py
|
@ -39,7 +39,7 @@ class MyClient(commands.Bot):
|
||||||
print('------')
|
print('------')
|
||||||
|
|
||||||
async def on_message(self, msg):
|
async def on_message(self, msg):
|
||||||
p = re.compile("[qQ]uoi[ \\.!?;]*$")
|
p = re.compile("[qQ]uoi[ \\.!?;\"»]*$")
|
||||||
print(f"{msg!r}")
|
print(f"{msg!r}")
|
||||||
if p.search(msg.content) is not None:
|
if p.search(msg.content) is not None:
|
||||||
await msg.reply("Quoicoubeh !")
|
await msg.reply("Quoicoubeh !")
|
||||||
|
|
Loading…
Reference in New Issue