Parent Directory
|
Revision Log
|
Patch
revision 238 by rakin, Mon Jul 29 17:29:09 2024 UTC | revision 371 by rakin, Mon Jul 29 17:29:50 2024 UTC | |
---|---|---|
# | Line 43 export async function parseChannel(guild | Line 43 export async function parseChannel(guild |
43 | let channel: GuildChannel | null = null; | let channel: GuildChannel | null = null; |
44 | ||
45 | try { | try { |
46 | channel = await guild.channels.fetch(input.trim().substring(2, input.trim().length - 1)); | channel = <GuildChannel | null> await guild.channels.fetch(input.trim().substring(2, input.trim().length - 1)); |
47 | } | } |
48 | catch (e) { | catch (e) { |
49 | return null; | return null; |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |