first commit, basic command handling and auth managing

This commit is contained in:
2025-05-30 22:56:46 +02:00
commit cc796765ed
17 changed files with 610 additions and 0 deletions

10
bot/commands/ping.ts Normal file
View File

@@ -0,0 +1,10 @@
import { Command, sendMessage } from ".";
// This command is purely for testing
export default new Command('ping',
['ping'],
[],
async msg => {
await sendMessage('pong!', { replyParentMessageId: msg.messageId });
}
);