pip install -r requirements.txt
Create a config file, ./src/config.py with the following contents:
slack_token = "YOUR_TOKEN_HERE"
# internal name => rendered name
user_renames = {
}
# channel name => max player count
channel_max_players = {
}
# channel names that are considered private by the bot
private_channels = [
]User renames is for users whose internal slack name isn't as it appears when rendered in slack.
./src/main channelspecs... -- botspecs...
This runs those bots, listening on the specified channels.
botspec may be a bot name, such as ps4bot, or a name and alias, such as gamebot:ps4bot, which will expose ps4bot logic under the name gamebot (in the specified channels).
channelspec may be a channel name or *, for all channels (this should be quoted to avoid shell expansion).
This code hasn't been touched since pre-2020, except for SportBot. All the other bots will likely crash with either problems from migrating from python2 -> python3 or changes in the Slack API. Good luck.
To run locally: ./check
PS4 banter is contained in ps4-banter.txt - each listed under a category. Adding -champ to the category (except for kickoff) will cause that message to only be sent if the target of the message is one of the top three players.
Get your slack token here