DONT USE THIS ONE, USE https://github.com/DSharpPlus/Example-Bots
An example bot for DSharpPlus.
So YOU want to make a discord bot of your own? Look no further! This is exactly what you need! DSharpPlus-Example is a starter project to get you started at making your very own Discord bot using DSharpPlus! I myself am currently using the latest version of DSharpPlus-Example for this project, but you can actually use any version you'd like! (you might have to change some stuff due to library changes.)
I hear you asking, what exactly is DSharpPlus? DSharpPlus is an AMAZING discord bot library Based off of the DiscordSharp library made by LuigiFan, though it has been rewritten to fit the API standards. You can download it here or here (Nuget). It's fairly easy to use and a good way to get you into bot development!
And I hear you asking, what does this starter bot do? Well, I already predicted you would ask that! Because of that, I made a nice list of functions :)
- Check if a channel message has been received, and respond to that
- Check if a private message has been received, and respond to that
- Send a message once a new channel has been created
- Welcome a user to your server (in private chat)
- Check if user has correct role
A bot can join a server by using the following URL, and replace the client ID with your own:
https://discordapp.com/oauth2/authorize?&client_id=[YOUR_CLIENT_ID]&scope=bot&permissions=0