Inital bot commit
This commit is contained in:
18
EventBot/Modules/TestingModule.cs
Normal file
18
EventBot/Modules/TestingModule.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Discord.Commands;
|
||||
using EventBot.Attributes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EventBot.Modules
|
||||
{
|
||||
public class TestingModule: ModuleBase<SocketCommandContext>
|
||||
{
|
||||
[Command("ping")]
|
||||
[Summary("Test if bot is working.")]
|
||||
[NoHelp]
|
||||
public Task SayAsync()
|
||||
=> ReplyAsync("Pong!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user