An example bot for DSharpPlus.
Switch branches/tags
Nothing to show
Clone or download
Latest commit eeef020 Oct 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DiscordBot Updated for modern-day DSharpPlus. WIP. Nov 15, 2017
.gitattributes Upload example bot Mar 6, 2017
.gitignore Updated for modern-day DSharpPlus. WIP. Nov 15, 2017
LICENSE Initial commit Mar 6, 2017
README.md Update README.md Oct 7, 2018

README.md

DSharpPlus-Example

An example bot for DSharpPlus.

Introduction

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.)

DSharpPlus

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!

My Discord server

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 :).

Functions

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

Joining servers

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