Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add !specifictakerate command #7

Open
EchoFrost opened this issue Jan 16, 2021 · 0 comments
Open

Add !specifictakerate command #7

EchoFrost opened this issue Jan 16, 2021 · 0 comments
Assignees
Labels
Legacy Command Migration The porting of legacy functionality into the application.

Comments

@EchoFrost
Copy link
Owner

EchoFrost commented Jan 16, 2021

This should print a tuple of two integers whose values are randomly generated from the range -999999999 to 999999999 followed by the message 'Use !takerate for a more general take'.

🔢

    elif message.content.startswith('!specifictakerate'):
        msg = '(' + str(r.randint(-999999999,999999999)) + ', ' + str(r.randint(-999999999,999999999)) + ') Use !takerate for a more general take'.format(message)
        yield from channel.send(msg)
@EchoFrost EchoFrost added the Legacy Command Migration The porting of legacy functionality into the application. label Jan 16, 2021
@EchoFrost EchoFrost added this to the Legacy Command Migration milestone Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Legacy Command Migration The porting of legacy functionality into the application.
Projects
None yet
Development

No branches or pull requests

1 participant