Skip to content

Conversation

@oliveratgithub
Copy link

Enhancements covering the following things (non exclusive, see single commits for details):

  • supports UTF-8 encodings
  • all message strings of the bot can be customized (e.g. for translations and alike)
  • change the bot's pace using new "stamina" and "patience" settings
  • added support to keep a user's score when changing nick name
  • README updated

Tried my best to comply with the contribution guidelines from the README. Excuse, when it doesn't fit all the requirements - i am not that deep into python programming ;)

Changed the README to proper markdown format and added some good-to-know content.

- file extension .md added
- some minor styling updates (e.g. code formatting)
- referenced files will now be linked to files in repo
- added how-to installation of dependencies
- added new section with IRC commands
Added UTF-8 encoding to q in order to support Umlauts or other special characters from the questions file.
Added a new config to set a higher level of stamina for the but, until it gets hungry.
Added UTF-8 encoding to q in order to support Umlauts or other special characters from the questions file.
Added a new config to set a higher level of stamina for the but, until it gets hungry.
Added a new config to set a custom waiting time until the bot drops hints to question
In order to allow customizing (or translation, if one wants to) of the common message strings, a new file strings.py has been added.
Additionally, the README has been updated to reflect this new feature.
Introducing various enhancements to play quizzes with the bot and not loosing score when chaning IRC nick name.

- a new "minplayer" config is used to define a minimum number of players who must be in a channel in order to start the questions
- the "recently asked questions" are now calculated based on a percentage of total number of all questions
- renamed the default hiscore sql-file  to sqlite
- new option to allow users to keep their score while changing their IRC nick name
- added config setting validation with fallback to default values
- sqlite execute() commands are wrapped with try:catch
- sqlite3 connect() is initialised with isolation_level
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