Created
December 2, 2021 16:18
-
-
Save vladfrangu/7945c8b8b6fcd44bca313505265bdd4f to your computer and use it in GitHub Desktop.
Sapphire load message listeners example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LogLevel, SapphireClient } from '@sapphire/framework'; | |
const client = new SapphireClient({ | |
intents: ['GUILDS', 'GUILD_MESSAGES'], | |
logger: { | |
level: LogLevel.Debug | |
}, | |
loadMessageCommandListeners: true | |
}); | |
await client.login(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment