mirror of
https://github.com/Myxelium/RandomMemerBot.git
synced 2026-07-08 22:15:09 +00:00
Added join button for manully triggering the bot
This commit is contained in:
2
bot.ts
2
bot.ts
@@ -62,7 +62,7 @@ discordClient.on('ready', async () => {
|
||||
* @param retries - The number of retries to attempt if no voice channels are found.
|
||||
* @returns Promise<void>
|
||||
*/
|
||||
async function joinRandomChannel(retries = 12) {
|
||||
export async function joinRandomChannel(retries = 12) {
|
||||
if (!discordClient.guilds.cache.size) {
|
||||
console.log(LoggerColors.Red, 'No guilds found');
|
||||
scheduleNextJoin();
|
||||
|
||||
Reference in New Issue
Block a user