Discord BGA bot

Discussions about BGA (all languages)
Forum rules
Warning: challenging a moderation in Forum = 10 days ban
More info & details about how to challenge a moderation: viewtopic.php?p=119756
Locked
User avatar
Pocc
Posts: 21
Joined: 12 May 2013, 04:49

Discord BGA bot

Post by Pocc »

I created a BGA bot that you can use to do a few things. This is similar to the recently posted topic about discord servers (https://boardgamearena.com/forum/viewto ... =3&t=17809), which points to a server where this bot is used.

- Create BGA games with options*
Image
- Add friends*
Image
- List all tables that a player or players have going.
Image

* Requires sign in.

You can add it to your server with https://discord.com/api/oauth2/authoriz ... &scope=bot.

I wanted to share this in case others might find this useful.
User avatar
mavit
Posts: 36
Joined: 15 September 2016, 20:20

Re: Discord BGA bot

Post by mavit »

To save anyone else from searching, you can find out a bit more about the capabilities of this bot at https://github.com/pocc/bga_discord
User avatar
Pocc
Posts: 21
Joined: 12 May 2013, 04:49

Re: Discord BGA bot

Post by Pocc »

I've added content to the README and it links to sub documents for BGA and TFM (terraforming mars) commands.

Thanks to @mavit for a pull request!

If you have any questions about capabilities, feel free to ask them here.
User avatar
urbaer
Posts: 3
Joined: 03 June 2013, 13:03

Re: Discord BGA bot

Post by urbaer »

So just to check, you can't create realtime games?

And it seems like it's impossible to start a game of Carcassonne now that hunters and gatherers exists

I try
!bga make Carcassonne

and it responds
carcassonne matches [carcassonne,carcassonnehuntersandgatherers]. Use more letters to match.
User avatar
Pocc
Posts: 21
Joined: 12 May 2013, 04:49

Re: Discord BGA bot

Post by Pocc »

These are good questions.

1. Default is speed:1/day. To change the speed, add `speed:fast`, `speed:normal`, or `speed:slow` to your command.
2. Thanks for bringing this to my attention. It should be fixed and you should be able to create games for Carcassonne and Carcassonne: Hunters and Gatherers.
User avatar
mavit
Posts: 36
Joined: 15 September 2016, 20:20

Re: Discord BGA bot

Post by mavit »

Pocc wrote: 24 October 2020, 07:32 1. Default is speed:1/day. To change the speed, add `speed:fast`, `speed:normal`, or `speed:slow` to your command.
This surprised me too. I expected the botʼs default to be the same as BGAʼs default, which is real-time normal speed. As it happens, this is usually what I want.

Having to remember to append `speed:normal` to every `make` command doesnʼt seem great. If Iʼm running my own instance of the bot I can hack it to change the default, but this doesnʼt seem great either. Perhaps the bot should remember which options a user specifies, and repeat those if they later make a table without mentioning them.
User avatar
Pocc
Posts: 21
Joined: 12 May 2013, 04:49

Re: Discord BGA bot

Post by Pocc »

That's a good point - I'd create an issue.
User avatar
Pocc
Posts: 21
Joined: 12 May 2013, 04:49

Re: Discord BGA bot

Post by Pocc »

The bot is now interactive and saves preferences so if you want to force a specific setting when you call it, it will obey that.

Otherwise, it will use the last-used setting you used for that game on BGA.
Locked

Return to “Discussions”