Giter Site home page Giter Site logo

seasniffer / verifybot Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 5.0 1.02 MB

A Discord bot for assigning a verifed rank to users by using the GW2 API to verify the world they are on.

License: MIT License

C# 42.48% PowerShell 57.52%
discord guildwars2 guildwars2-api discord-net discord-bot guild-wars-2 gw2

verifybot's Introduction

VerifyBot

Note: This software is no longer maintained. Please do not message me asking for help

Build Status

A bot that uses the Discord.NET and Guild Wars 2 API's to verify what world a users account is on. Made for Jade Quarry Discord but open source for all to use.

You'll need a verified rank in Discord and a #verify text channel. When a user types !verify the bot will message them with instructions. Once a user is verified an entry is made into a SQLite database and the user is given the verified rank.

You'll need to add a secrets.json file to the directory that the executable is running from. Here are the required fields.

{
	"WorldIds": [ 1008, 1001, 1013 ],
	"ServerId": your_discord_server_id_here,
	"DiscordToken": "your_discord_bot_token_here",
	"VerifyRole": "your_verified_role_name_here"
}

verifybot's People

Contributors

seasniffer avatar thajcak avatar vyrolan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

verifybot's Issues

Clean up error messages

Right now it can be very messy and unclear. Lets clean up the issue messages and make them more user friendly.

Need a way to reuse an API key

For whatever reason, people are either losing their verified status or have set up a second account to use in Discord. In these cases, they're no longer able to use the verify bot because it believes they're already set up.

Starting Verification Process...
Account is already verified. If you are having issues message a verifer

We need some kind of system in place that either

  1. Allows for the API key to be used across multiple accounts (this could lead to key sharing).
  2. Associates the API key to the new account and removes it from the previous.

Either way, this situation requires manual verification which then doesn't exist in the database and could be revoked in the future during a purge.

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.