mirror of
https://github.com/Myxelium/RandomMemerBot.git
synced 2026-04-13 18:40:36 +00:00
Larger refactoring and added avoidlist
This commit is contained in:
11
client/handlers/joinChannel.ts
Normal file
11
client/handlers/joinChannel.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { joinRandomChannel } from "../../bot";
|
||||
import express from 'express';
|
||||
|
||||
/**
|
||||
* Joins a random channel and plays a random sound file.
|
||||
* @returns void
|
||||
*/
|
||||
export function JoinChannel(response: express.Response) {
|
||||
joinRandomChannel();
|
||||
response.send('Joining random channel.');
|
||||
}
|
||||
Reference in New Issue
Block a user