mirror of
https://github.com/SrIzan10/ava.git
synced 2026-06-06 00:46:53 +00:00
chore: e
This commit is contained in:
@@ -10,7 +10,7 @@ export default eventModule({
|
||||
name: 'ready',
|
||||
execute: async (client: Client) => {
|
||||
const documents = await prisma.stick.findMany();
|
||||
documents.forEach(async (document: stick) => {
|
||||
documents.forEach(async (document) => {
|
||||
const fetchguild = await client.guilds.fetch(document.guildid);
|
||||
try {
|
||||
await fetchguild.channels.fetch(document.channelid) as VoiceChannel
|
||||
|
||||
Reference in New Issue
Block a user