remove logs

This commit is contained in:
Skillz
2020-03-20 16:21:44 -04:00
parent c3720b5e03
commit deb30a39af
+1 -4
View File
@@ -40,10 +40,7 @@ export const create_message = (data: Message_Create_Options, client: Client) =>
}),
flags: () => data.flags || 0,
channel_id: () => data.channel_id,
channel: () => {
logYellow('Getting channel')
return cache.channels.get(data.channel_id) as Channel
},
channel: () => cache.channels.get(data.channel_id) as Channel,
delete: (reason: string) => {
if (data.guild_id && !bot_has_permission(data.guild_id, client.bot_id, [Permissions.MANAGE_MESSAGES]))