The bot automatically does set up when it joins a server, but it does several things badly. The expected behavior is:
create a "Secret Hitler" category if it does not exist
create four channels under that category: "#rules", "#help", "#license", and "#lobby" if they do not exist
add "ja" and "nein" reaction emotes if they do not exist
Currently, the bot sets all that up on join, but also creates copies of those four channels outside the category. Additionally, if the -setup command is run, these categories and channels are created again, even if they already exist. The setup command should verify that the correct channels and category exist, and only create them if they do not exist to reduce clutter.
setup should create the required categories, channels, and reactions, but not create duplicates.
The bot automatically does set up when it joins a server, but it does several things badly. The expected behavior is:
Currently, the bot sets all that up on join, but also creates copies of those four channels outside the category. Additionally, if the
-setup
command is run, these categories and channels are created again, even if they already exist. The setup command should verify that the correct channels and category exist, and only create them if they do not exist to reduce clutter.setup
should create the required categories, channels, and reactions, but not create duplicates.