Little Bot

Features

Queue

  • Bot displays a message with specified react icons.
  • Upon reaction to the bot message, player gets added to the corresponding queue.

Once queue is full, players are asked to react within 10 minutes to stay in the queue.

  • Bot notifies existing players in the queue of any addition or removal in real time in #queue-notifications which resets daily at 7 am pst.
  • Queues automatically reset daily at 7 am pst.

Randomization

  • Allow players to type bot commands in the #bot-commands channel, which automatically resets daily at 7 am pst.
  • !coin to flip a coin.
  • !map to randomly generate a Valorant map choice.
  • !agent [number] to generate the specified number of Valorant agent choices.
  • !gun to randomly generate a gun choice from all the Valorant gun options.
  • !pistol to randomly generate a gun choice from only the Valorant pistol options.
  • !strat to randomly generate a Valorant strat/play style.

Events

  • Event notifications are housed in the #events channel, which automatically resets daily at 7 am pst.
  • !schedule [game] [time] [notify] [desc] to schedule a game event at a certain time.

Misc

  • !server to check status of Minecraft server, defaults to group server ip
  • !fan to become Anju Fanboy
  • !son to become Anju Son

Set up for Discord

  • Create the following text channels: #general, #help, #queues, #queue-notifications, #bot-commands, #events
  • Make sure permissions are set correctly for channels so that users can't add type or add reactions/other media to #help, #queues, #queue-notifications, #events
  • Create roles with format "game" for each game.
  • Name emojis with the same name as the game it corresponds to.

Set up for Developers

  • Install discord.py library: pip install -U discord.py
  • Install dotenv library: pip install -U python-dotenv
  • Modify server name on line 20 in main.py
  • Modify game choices on line 21 in main.py
  • Modify maps and agents in randomize.py