Skip to content

tony-ist/EzBot

Repository files navigation

Requirements

Setup

  1. Copy your Google API credentials into credentials folder.
  2. Add GOOGLE_APPLICATION_CREDENTIALS="credentials/your-credentials.json" to .env file.
  3. Create database and user in mongodb
  4. cp config.template.json config.json
  5. Configure your guild (discord server) id, client (bot) id, Discord API token, DB Connection URL and DB Name in config.json.
  6. npm install
  7. npm run register-commands
  8. npm start
  9. npx simple-git-hooks to set up .git/hooks

Usage

TODO: Rewrite this section

Type !help in discord chat to get bot commands help.

You can associate channels and games using bot commands. When bot detects a player starting a game when he is not in the correct channel, bot will join that channel and ask all players in that channel if they want to get moved to correct channel.

Also you can create a message which players can use to assign roles to themselves. When player places emote on the message he gets the role associated with that emote. Currently you need to manually create collection ReactionMessages with a single document with a single field id: your_message_id.

Help

You can find very detailed guide on how to write your own bot with voice recoginition on https://refruity.xyz/writing-discord-bot/

DockerHub

https://hub.docker.com/repository/docker/refruity/ezbot

About

Discord utility bot with speech recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages