Discord-Bot-Tutorial
Discord-Bot-Tutorial copied to clipboard
BaseCommandModule no longer exsists
so I am trying to create a commands class like in the second tutorial, but BaseCommandModule is no longer a thing and I cannot figure out what to use instead...
using DSharpPlus.CommandsNext;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RolePlayHelperBot.Commands
{
public class MainCommands : BaseCommandModule
{
}
}
You dont need to use BaseCommandModue just make sure your using DSharpPlus.CommandsNext.Attributes;
Edit: it depends on the version you are using. If it is not 4.0.0 you dont need it. if it is 4.0.0 you do need to use it