Chokyotager/discord-cards-against-humanity

Need some pointers to get the games going!

Closed this issue · 1 comments

Hey,
I self-hosted the bot and added it to the server I have. The problem I am running into is that the game won't start. I get the following message.

image

The thing is, I have more than 3 friends online on the server. What am I doing wrong here? I have set up 2 text channels, #cag-chat, #cag-game and also added the same into the config.json. I tried starting the game from these 2 channels, also tried starting it in other channels and I am lost. Where am I doing something wrong?

I am new with discord, so could you please help me? Thanks in advance.

Pointers to get this to work:

Fetching Channel ID

Permissions:
When creating the bot in the developer portal, either select these permissions or allow them in the Role that gets created after the bot is successfully added to the server.

  • Manage Channels
  • Send Messages
  • Read Message History

Getting the bot to start working:

  • Create 2 channels specifically for this bot on the server, one for the game, and other for the text commands/chat.
  • Copy the ID of these channels, usually should be a long number (18 Digits when I last checked)
  • On the server where the bot is hosted, you need to edit the config.json to add these 2 channel IDs in their respective fields:
    "active-channel": "game_channel_ID"
    "chat-channel": "text commands/chat_channel_ID"
  • Ensure the bot token is correctly filled in the config.json. The token is available in the developer portal.
  • restart/start the bot on PM2.

Check game channel!