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

!takerate #9

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

!takerate #9

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

Comments

@pacpix
Copy link
Collaborator

pacpix commented Jan 16, 2021

Need to implement a random integer and concatenate it with two strings before sneind a message
🎲

r = random.SystemRandom()
    elif message.content.startswith('!takerate'):
        rate = 'Q' + str(r.randint(1,4)) + ' Take'
        msg = rate.format(message)
        yield from channel.send(msg)
@pacpix pacpix created this issue from a note in Task Board (Backlog) Jan 16, 2021
@pacpix pacpix added the Legacy Command Migration The porting of legacy functionality into the application. label Jan 16, 2021
@pacpix pacpix added this to the Legacy Command Migration milestone Jan 16, 2021
@pacpix pacpix moved this from Backlog to Done in Task Board Jan 16, 2021
@pacpix pacpix moved this from Done to Backlog in Task Board 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
Task Board
Backlog
Development

No branches or pull requests

1 participant