Discord-Bot-Tutorial icon indicating copy to clipboard operation
Discord-Bot-Tutorial copied to clipboard

BaseCommandModule no longer exsists

Open SuperSonyk opened this issue 5 years ago • 1 comments

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
    {
    }
}

SuperSonyk avatar Nov 15 '20 01:11 SuperSonyk

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

llamanade1127 avatar Nov 21 '20 18:11 llamanade1127