This project is now deprecated. Please use DSharpPlus instead.
So YOU want to make a discord bot of your own? Look no further! This is exactly what you need! DiscordSharp_Starter is a starter project to get you started at making your very own Discord bot using DiscordSharp! I myself am currently using the latest version of discordsharp 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 DiscordSharp? DiscordSharp is an AMAZING discord bot library made by LuigiFan. You can download it here. It's fairly easy to use and a good way to get you into bot development!
And on top of all of that, If you need any help i would love to help you out! just join me at my personal discord server! and ask anything you'd like! But please, DON'T add any bots without my permission. it's kinda rude :)
And i hear you asking, what does this starter bot do? Well, I already predicted you wouyd ask that! so 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
- Join a channel after receiving a "join inviteurl" private message (DOESN'T WORK WITH API)
- Send a message once a new channel has been created
- Welcome a user to your server (in private chat)
- Block message deleting
- Check if user has correct role
- Kinda hardcoded random.cat sender
- Sync a channel with an IRC chat
- Add code on how library works with the API
A bot can join a server by sending join [inviteurl]
to it.
however, the API does not support that. To make a bot join using the api, use the following URL:
https://discordapp.com/oauth2/authorize?&client_id=[YOUR_CLIENT_ID]&scope=bot&permissions=0