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 poll command and it's helper functions #6

Merged
merged 7 commits into from
Mar 30, 2021
Merged

Add poll command and it's helper functions #6

merged 7 commits into from
Mar 30, 2021

Conversation

Appelsiini1
Copy link
Owner

Add poll command
Add database initialization
Other QoL tweaks in other functions and commands

Implement creation of basic polls
- selectReactionEmoji function selects n number of emojis from the emoji pool and returns them as a list
- initializeDatabase is a helper function to create the necessary database tables used in the bot commands. Used only during startup.
- sendEmoji is only a test function to test that all emojis in the emoji pool work properly.
Added 'error' argument to get_hex_colour function for simpler error colour handling
@Appelsiini1 Appelsiini1 merged commit 7bc8b33 into master Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant