/[sudobot]/trunk/src/utils/Emoji.ts
ViewVC logotype

Diff of /trunk/src/utils/Emoji.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 51 by rakin, Mon Jul 29 17:28:23 2024 UTC revision 67 by rakin, Mon Jul 29 17:28:27 2024 UTC
# Line 10  export async function fetchEmoji(name: s Line 10  export async function fetchEmoji(name: s
10  }  }
11    
12  export async function findEmoji(callback: (e: Emoji) => boolean) {  export async function findEmoji(callback: (e: Emoji) => boolean) {
13      return await DiscordClient.client.emojis.cache.find(callback);      return await DiscordClient.client.guilds.cache.find(g => g.id === globalConfig().id)!.emojis.cache.find(callback);
14  }  }

Legend:
Removed from v.51  
changed lines
  Added in v.67

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26