Coder Social home page Coder Social logo

gamesdeals's Introduction

GamesDeals

GitHub Discord BotInvite Liberapay

Overview

GamesDeals is a Discord bot that notifies users when games are briefly free or have a 100% discount. It gets its information from the GameDeals subreddit. (Please keep in mind that, aside from the data source, this project has no affiliation with the given subreddit.)

Join the support server if you're having trouble configuring the bot or if you have any questions.

Command list

If you don't have access to the slash commands, please reinvite the bot!

Command Required permissions Description
/webhook create Manage Webhooks Configure the notification channel. You can create an unlimited number of webhooks. If you want a specific role mentioned when a new game is found, use the role parameter. Use the keywords parameter to receive notifications only on specific deals. With the ignore parameter, you can disable specific notifications.
/webhook info Get information about the guild's configured webhooks.
/webhook edit set Manage Webhooks Add/edit role to mention, keywords or ignore to previously configured webhook.
/webhook edit clear Manage Webhooks Remove role to mention, keywords, or ignore of previously configured webhook.
/webhook delete Manage Webhooks Delete previously configured webhook.
/latest Get latest found game.

How to set up the bot

  1. Invite the bot to your server.
  2. Use the /webhook create command
  3. 🎉 Done! 🎉

Examples

  • Notify only about euro truck simulator 2 on steam:
    • /webhook create channel:#cool-channel keywords: euro truck simulator 2,steam
  • Notify only about games from steam and gog:
    • /webhook create channel:#cool-channel keywords: steam,gog
  • Mention a role when a game is found:
    • /webhook create role:@coolPeople
  • Both:
    • /webhook create channel:#cool-channel role:@coolPeople keywords: steam,gog

License

This project is licensed under the MIT License - see the LICENSE file for details.

gamesdeals's People

Contributors

mikolajkalwa avatar renovate[bot] avatar dependabot[bot] avatar pjamroziak avatar

Stargazers

GX0 avatar Kevin Novak avatar Pedro Henrique avatar Russell avatar . avatar Lucas Ferreira avatar Martin Wagenführ avatar Dominik Marciniszyn avatar angsaysroar avatar  avatar Garou avatar taiiat avatar Nicolás avatar SimpIsHigh avatar Malte avatar DEO avatar Aractor avatar Berkan Kütük avatar ScarVite avatar  avatar Marcos Arrieta avatar  avatar  avatar Paulo Luiz Fachini avatar  avatar Eduardo Freitas avatar Deflated Croissant avatar Sa avatar ATG avatar  avatar  avatar Chris G avatar Luke Jones avatar Damian  avatar Gunj4i avatar Dante avatar Harize Tamara avatar Jonas avatar  avatar Chris avatar Kento avatar Hazel avatar Matt Foxx avatar Wiktor Kowalski avatar Frisk avatar  avatar  avatar

Watchers

 avatar

gamesdeals's Issues

bot is offline?

hi, i've been using your bot for while now, it went offline and doesn't responds on commands anymore
can you fix it please? if your hosting expired i would recommend you putting patreon/any site where you can get support for it

help

can someone please make a tutorial video on this, would be much appreciated

gd:removewebhook results with "Something went wrong"

If someone tries to use gd:removewebhook on webhook which was already removed from discord, the command results with an error message 'Something went wrong'
Logged error message doesn't contain any data about the webhook which failed to be removed

How to invite the bot?

My friend has your bot running on his server and he said he only had to press invite on some website.
How can I use the bot? I don't have any coding experience etc. I only want to get the deal notification on my server... Thanks!

Help a noob out (can't get the bot to work)

Hey there! First of all: thank you so much for creating this. A while back I succesfully made the bot work in my own channel with someone there to tell me how to do it. I now have another channel and have to do it on my own.

Is there a step by step guide anywhere of how to get it to work? I managed to invite the bot, but that;'s all.
I'm really terrible at stuff like this.

I read the bot was offline, but on my personal Discord I see it posted Watchdogs 2 for free on the 12th of july. So it does seem to work?

Thanks all!

Fix interaction handling

After interaction is created discord expects a first response within 3 seconds. Some operations (especially webhook commands) might take longer which leads to a situation where user doesn't receive any response from the bot.

Interaction handling should be refactored (at least for the webhook command) to send initial respond to discord as a first step, which will extend interaction lifetime to 15 minutes https://discord.com/developers/docs/interactions/receiving-and-responding#responding-to-an-interaction

Remove all mentions

It's there a command to remove the mention?
I had it set to 'here' and was told it was a bit annoying so I set mention to '@' but not sure how to just remove the mentions without resetting up the bot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.