Skip to content

This is a Discordbot written in C#, with a REST API to send commands or get specific items via HTTP Requests.

License

Notifications You must be signed in to change notification settings

inbroso/discordbot-with-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot with a Webserver

With this Discord Bot you can send HTTP Requests to the Discord Bot, so you can for example send a HTTP Request from another service (e.g. Control Panel for Game Servers) to the Discord Bot to get or set Discord Roles.

Webserver functionality

The webserver commands are in the CommandsController.cs in the discordbotServer project. There you can also add more. e.g. ( curl -X POST "https://localhost:50001/commands/giverole?userId=HEREID&roleId=HEREROLEID" ) is the HTTP Request to give a specific role to an user.

README is still under construction. But you can join my discord and ask me questions there if you need help:
https://discord.gg/dv8tt5ygDP

About

This is a Discordbot written in C#, with a REST API to send commands or get specific items via HTTP Requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages