Changement vers ? et ajout ?help
This commit is contained in:
parent
d030275103
commit
adb74bd964
1 changed files with 5 additions and 4 deletions
|
@ -43,10 +43,10 @@ async def on_message(message):
|
||||||
|
|
||||||
content = message.content
|
content = message.content
|
||||||
|
|
||||||
if content == "!hello":
|
if content == "?hello":
|
||||||
await message.channel.send('henlo')
|
await message.channel.send('henlo')
|
||||||
return
|
return
|
||||||
if content == "!pinguncon":
|
if content == "?pinguncon":
|
||||||
#fcalva's server
|
#fcalva's server
|
||||||
if message.guild.id == 750665878072328242:
|
if message.guild.id == 750665878072328242:
|
||||||
await message.channel.send("<@499533339468759052>")
|
await message.channel.send("<@499533339468759052>")
|
||||||
|
@ -54,9 +54,10 @@ async def on_message(message):
|
||||||
await message.channel.send("<@755081785393676328>")
|
await message.channel.send("<@755081785393676328>")
|
||||||
else:
|
else:
|
||||||
await message.channel.send("pas dispo ici")
|
await message.channel.send("pas dispo ici")
|
||||||
if content == "!pingrand":
|
if content == "?pingrand":
|
||||||
choice = random.choice(globals()["gmembers"][str(message.guild.id)])
|
choice = random.choice(globals()["gmembers"][str(message.guild.id)])
|
||||||
await message.channel.send("<@"+str(choice.id)+">")
|
await message.channel.send("<@"+str(choice.id)+">")
|
||||||
|
if content == "?help":
|
||||||
|
await message.channel.send("Eco+, un bot Eco plus pour faire des conneries\n ?pinguncon : ping le con local\n ?pingrand : ping un membre aléatoire du serveur")
|
||||||
|
|
||||||
client.run(token)
|
client.run(token)
|
||||||
|
|
Loading…
Add table
Reference in a new issue