CodinGame Discord bot - Live!


#1

Coming soon: Live! Invite it here: https://discordapp.com/oauth2/authorize?client_id=494490722272149519&permissions=19456&scope=bot

Users (will fix achievement ordering):

Puzzles:


#2

A bot for discord, nice!

IMO, the puzzle search would be the most interesting part. Also, I believe there is too much information retrieved. It ends up as a huge text block which I don’t think is that useful.

I’d remove achievements for the profile and additional info, story and background for the puzzle. Perhaps even the default description of the puzzle.

I wonder if we could omit puzzle and profile in the request.

Well done @BenjaminUrquhart


#3

Updates:

  • Removed achievements from the profile per Thibaud’s suggestion
  • Only basic puzzle info is shown by default now. To show everything (basic info + additional info + story + background), put the --full flag somewhere in the command
  • Made hard puzzle embed color orange instead of yellow
  • User profile embeds are now colored by level (green. bronze, silver, gold, red/legend)
  • You can now filter puzzle results by replacing puzzle with a difficulty/puzzle type
  • Added contest command to show the current contest
    Profile:

Puzzles:


#4

Bot is live!

Invite:


#5

I’ve added a chat link command to relay CG chat to a discord channel.

Simply run @CodinBot link in the channel you want to link and it will do the rest.
Must have Manage Webhook permissions.

Note: this is a one-way link. Speaking in the linked discord channel will not send anything to CG chat.


#6

Impressive work :clap:

Is there a way to have a two-way link? Because, as nice as it is to have CG chat in discord, I don’t see the use if you can’t interact. It would only be a channel to read, wouldn’t it?


#7

The problem is, if I relayed messages from discord to CG chat, they would all be sent from the dummy account that’s watching chat. I could add a little header to show the username of who’s talking but I think it would cause more confusion than necessary.


#9

All new chat relays are now 2-way. To make old ones 2-way simply run the link command again in the channel.

Note that I will blacklist people who attempt to abuse this feature (spamming the channel for example). Be nice :wink: