Skip to content

Readme.md is outdated, the examples will not run properly. #11

Closed
@TheLouisHong

Description

I've just discovered my bots weren't saying anything is because you have to change this

# Example command:
@bot.command('example', alias=['moreexample','anothaone'], desc='example command')
async def example(message, word1:str, number1:int, rest:str):
    bot.say('wow');

to this

# Example command:
@bot.command('example', alias=['moreexample','anothaone'], desc='example command')
async def example(message, word1:str, number1:int, rest:str):
    await bot.say('channel', 'wow');

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions