<commit_before># idiotech-gaming-bot
The bot used for irritating the members of Idiotech's Discord server. https://discord.gg/0z3KQXI6apyyeNOD


If you want to develop/test locally you'll need a bot user token from [here](https://discordapp.com/developers/docs/intro). Create a new file in the root folder, named `token.txt` and paste your token in.


Todo:
--
*Italics* are simple text commands.
- [x] Add question handling
- [ ] Add polls
- [ ] Add giveaways
- [ ] */rules*
- [x] /time
- [ ] /games
- [ ] */links*
- [ ] */specs*
- [ ] */youtube*
- [ ] */twitter*
- [ ] */twitch*
- [ ] */patreon*
- [ ] */donate*
- [ ] */facebook*
- [ ] */reddit*
- [ ] /roll DiceSides
- [ ] /fight PlayerName
- [ ] /hug @Username<commit_msg>Added section on permissions and packages<commit_after># idiotech-gaming-bot
The bot used for irritating the members of Idiotech's Discord server. https://discord.gg/0z3KQXI6apyyeNOD


If you want to develop/test locally you'll need a bot user token from [here](https://discordapp.com/developers/docs/intro). Create a new file in the root folder, named `token.txt` and paste your token in.

To install discord.py do `python3 -m pip install -U discord.py`. All other libs should be bundled with python3

Inviting bots is a bit of a hassle right now. You need to make a link to give the server owner. The format is as such:
`https://discordapp.com/oauth2/authorize?&client_id=CLIENTID&scope=bot&permissions=478208` if you want the bot to have different permissions there is a nifty calculator located [here](https://discordapi.com/permissions.html).

![idiotech-gaming-bot's needed permissions](http://i.imgbox.com/HUjqXcft.png)

Todo:
--
*Italics* are simple text commands.
- [x] Add question handling
- [ ] Add polls
- [ ] Add giveaways
- [x] /help
- [ ] */rules*
- [x] /time
- [ ] /games
- [ ] */links*
- [ ] */specs*
- [x] */youtube*
- [ ] */twitter*
- [ ] */twitch*
- [ ] */patreon*
- [ ] */donate*
- [ ] */facebook*
- [ ] */reddit*
- [ ] /roll DiceSides
- [ ] /fight PlayerName
- [ ] /hug @Username
{'fraction_non_alphanumeric': 0.15335305719921105, 'fraction_numerical': 0.0073964497041420114, 'mean_word_length': 3.3354700854700856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '433449', 'n_tokens_mistral': 739, 'n_tokens_neox': 705, 'n_words': 223}