<commit_before># Legendarybot

Originally a Discord bot for alerting of new Legendary drops in a World of Warcraft Guild, it became a fully pledged bot offering multiple features:

- Lookup an item (!lookupitem)
- Mythic+ affix displayer (!affix)
- Give a player iLVL (!ilvl)
- Say if an invasion is on Broken Shore (!invasion)
- Check if someone in the guild looted a new Legendary (!enablelc !disablelc !mutelc)
- Give the latest log of the guild on WarcraftLogs (!log)
- Play some music in a voice channel! (!playmusic !stopmusic !skipsong !addsong)
- Give the Competitive rank of a player in Overwatch (!owrank) *Only supports US stats.*
- Show the current status of a Warcraft Realm (!server)
- Give the current price of the WoW token (!token)
- Give the latest tweet of the US @blizzardcs Twitter account (!blizzardcs)
- Manage a streamer list on your server (!addstreamer !removestreamer !streamers). Supports Twitch & Mixer.

## Initial Bot configuration

To be able to work properly, the bot needs 3 things from you:

1. Your Region ```!setserversetting WOW_REGION_NAME US/EU```
2. Your WoW Realm ```!setserversetting WOW_SERVER_NAME Arthas``` (Arthas is an example)
3. Your Guild Name ```!setserversetting GUILD_NAME YourGuildName```

Congrats! The bot is now configured for your server.

## Permissions

Legendarybot have several Admin commands. To be able to run those admin commands, you need one of the following conditions:
1. You need the Admin role on your server
2. You need the ```legendarybot-admin``` role

Without one of those conditions, you are only allowed **public** commands.

## Custom prefix
The default bot prefix is !. You can change it to whatever you want with the following command ```!setserversetting PREFIX What_You_Want```

## How to compile<commit_msg>Readme update<commit_after># Legendarybot

Originally a Discord bot for alerting of new Legendary drops in a World of Warcraft Guild, it became a fully pledged bot offering multiple features:

- Lookup an item/Achievement (!lookupitem !lookupachievement)
- Mythic+ affix displayer (!affix)
- Give a player iLVL (!ilvl)
- Say if an invasion is on Broken Shore (!invasion)
- Check if someone in the guild looted a new Legendary (!enablelc !disablelc !mutelc)
- Give the latest log of the guild on WarcraftLogs (!log)
- Play some music in a voice channel! (!playmusic !stopmusic !skipsong !addsong)
- Give the Competitive rank of a player in Overwatch (!owrank) *Only supports US stats.*
- Show the current status of a Warcraft Realm (!server)
- Give the current price of the WoW token (!token)
- Give the latest tweet of the US @blizzardcs Twitter account (!blizzardcs)
- Manage a streamer list on your server (!addstreamer !removestreamer !streamers). Supports Twitch & Mixer.

## Initial Bot configuration

To be able to work properly, the bot needs 3 things from you:

1. Your Region ```!setserversetting WOW_REGION_NAME US/EU```
2. Your WoW Realm ```!setserversetting WOW_SERVER_NAME Arthas``` (Arthas is an example)
3. Your Guild Name ```!setserversetting GUILD_NAME YourGuildName```

Congrats! The bot is now configured for your server.

## Permissions

Legendarybot have several Admin commands. To be able to run those admin commands, you need one of the following conditions:
1. You are Owner of the Discord server.
2. You need the Admin role on your server.
3. You need the ```legendarybot-admin``` role.

Without one of those conditions, you are only allowed **public** commands.

## Custom prefix
The default bot prefix is !. You can change it to whatever you want with the following command ```!setserversetting PREFIX What_You_Want```

## How to compile
{'fraction_non_alphanumeric': 0.07606019151846785, 'fraction_numerical': 0.0035567715458276333, 'mean_word_length': 4.6770186335403725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '843641', 'n_tokens_mistral': 1077, 'n_tokens_neox': 1045, 'n_words': 529}