DSharpPlus / DSharpPlus-Example

An example bot for DSharpPlus.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

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

About

An example bot for DSharpPlus.

License:MIT License


Languages

Language:C# 100.0%