mirror of
https://github.com/Myxelium/RandomMemerBot.git
synced 2026-04-13 18:40:36 +00:00
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
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.');
|
|
} |