Discord Bot for Notifications

Developers and contributors can find a link to our github page and engage in development project planning here.
Post Reply
Message
Author
Skype
Posts: 3
Joined: Wed May 13, 2020 9:14 pm
Karma: 4

Discord Bot for Notifications

#1 Post by Skype » Sun Jun 28, 2020 12:31 am

I created a discord bot to provide notifications for in-game press and new turn alerts. Our group is wrapping up a game after using it and it worked pretty well for a classic variant game that was 1 day/turn. If you're interested in trying it out you can add it to your server here: https://github.com/Jerusus/discordwebdiplomacy

The bot sets up press message notifications by storing your login cookies, so if you're worried about that you can fork the repo and host the bot yourself with AWS dynamodb. Alternatively you can use only the server channel features which tell you about new turns and not the press notifications.
4

swordsman3003
Gold Donator
Gold Donator
Posts: 178
Joined: Tue Jan 02, 2018 2:51 pm
Location: Georgia, USA
Karma: 409
Contact:

Re: Discord Bot for Notifications

#2 Post by swordsman3003 » Tue Jun 30, 2020 3:23 pm

Hey I am trying to get this to work on my Discord server, but I'm unfamiliar with how Bots work. I have the bot on my server. How do I subscribe it to a match?

Squigs44
Developer
Developer
Posts: 3374
Joined: Thu Jul 12, 2018 11:50 pm
Location: In your head
Karma: 1467

Re: Discord Bot for Notifications

#3 Post by Squigs44 » Tue Jun 30, 2020 3:33 pm

From their documentation it looks like you use the command set to hook a channel up to a specific game. So:

d.set [gameID]

It looks like you have to configure the bot first, not sure if you have done that. You can use d.help to get available commands.

swordsman3003
Gold Donator
Gold Donator
Posts: 178
Joined: Tue Jan 02, 2018 2:51 pm
Location: Georgia, USA
Karma: 409
Contact:

Re: Discord Bot for Notifications

#4 Post by swordsman3003 » Tue Jun 30, 2020 8:05 pm

Man maybe I'm running into the limits of my tech skills, but like what do you mean by "using" d.help? I tried sending "d.help" as a message to the bot after getting the bot to appear on my server, but nothing happens.

Squigs44
Developer
Developer
Posts: 3374
Joined: Thu Jul 12, 2018 11:50 pm
Location: In your head
Karma: 1467

Re: Discord Bot for Notifications

#5 Post by Squigs44 » Tue Jun 30, 2020 8:26 pm

swordsman3003 wrote:
Tue Jun 30, 2020 8:05 pm
Man maybe I'm running into the limits of my tech skills, but like what do you mean by "using" d.help? I tried sending "d.help" as a message to the bot after getting the bot to appear on my server, but nothing happens.
Well then you either didn't set the bot up correctly or its broken. I couldn't tell you which without more info
1

swordsman3003
Gold Donator
Gold Donator
Posts: 178
Joined: Tue Jan 02, 2018 2:51 pm
Location: Georgia, USA
Karma: 409
Contact:

Re: Discord Bot for Notifications

#6 Post by swordsman3003 » Wed Jul 01, 2020 2:13 pm

Okay I got the bot going today without doing anything different. I'm not sure what changed.

Now I have the problem that it's giving like a notification every 10 minutes for the same game, it's going nuts!! haha

BunnyGo
Posts: 4840
Joined: Thu Jul 18, 2019 12:21 am
Karma: 246

Re: Discord Bot for Notifications

#7 Post by BunnyGo » Wed Jul 01, 2020 2:36 pm

swordsman3003 wrote:
Wed Jul 01, 2020 2:13 pm
Okay I got the bot going today without doing anything different. I'm not sure what changed.

Now I have the problem that it's giving like a notification every 10 minutes for the same game, it's going nuts!! haha
It saw you were thinking it wouldn’t do anything. So it’s making up for lost time.

Skype
Posts: 3
Joined: Wed May 13, 2020 9:14 pm
Karma: 4

Re: Discord Bot for Notifications

#8 Post by Skype » Thu Jul 02, 2020 1:29 am

swordsman3003 wrote:
Wed Jul 01, 2020 2:13 pm
Okay I got the bot going today without doing anything different. I'm not sure what changed.

Now I have the problem that it's giving like a notification every 10 minutes for the same game, it's going nuts!! haha
Hey thanks for checking out my bot! I'm still doing active development so maybe that's why you were noticing some odd behaviors. But I'm happy to help troubleshoot any issues you might have with it. Feel free to message me on Discord, my ID is Jerusus#0019.

Skype
Posts: 3
Joined: Wed May 13, 2020 9:14 pm
Karma: 4

Re: Discord Bot for Notifications

#9 Post by Skype » Thu Jul 02, 2020 1:33 am

And for those that don't know already, there's an official webDip Discord server: https://discord.gg/f2ram4w

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest