Here is the code : https://hastebin.com/fugurelagu.py
So the error is that the _help does not respond, whenever a user types _help, nothing happens.
There is no error in the console which is really weird, and something else that is weird
is that the _magicball command works correctly with no problem/error.
It's my first time here so i'm trying to explain my problem the most clearly i can (sorry if my english is bad i don't speak english)
The code (added by buran)
So the error is that the _help does not respond, whenever a user types _help, nothing happens.
There is no error in the console which is really weird, and something else that is weird
is that the _magicball command works correctly with no problem/error.
It's my first time here so i'm trying to explain my problem the most clearly i can (sorry if my english is bad i don't speak english)
The code (added by buran)
import discord
import asyncio
import random
import pickle
import os
client = discord.Client()
@client.event
async def on_ready():
print('Ready and with')
print(client.user.name)
@client.event
async def on_message(message):
if message.content.startswith('_help'):
msg1 = await client.send_message(message.channel, ('```Heres what i can do :```'))
msg2 = await client.send_message(message.channel, ('```-_help for help```'))
msg3 = await client.send_message(message.channel, ('```-_8ball to ask the magic 8ball```'))
msg4 = await client.send_message(message.channel, ('```Bot powered by Ouindoze™, message will auto destruct in 15s :boom: ```'))
@client.event
async def on_message(message):
if message.content.startswith('_magicball'):
ball8 = random.choice(['It is certain','As i see it, yes', 'Dont count on it', 'Without a doubt', 'Definitely', 'Very doubtful', 'Outlook not so good', 'My sources say no', 'My reply is no', 'Most likely', 'You may rely on it', 'Ask again later'])
msg5 = await client.send_message(message.channel, ball8)
client.run('My token here, i will obviously not give it freely')
COol Dudes love programmING
