Remove test
This commit is contained in:
parent
c5e33775ea
commit
d0b9228be6
18
main.js
18
main.js
@ -255,20 +255,6 @@ registerFont('fonts/Minecraftia-Regular.ttf', {family: 'Minecraft'})
|
|||||||
const webhookUrl = 'https://discord.com/api/webhooks/1262482329671176232/yAHgxkP2JSBPpdjmz6mdABu5yRkXxatXcbzI91iAjy0jM0z1kRzE1HZqzK5OGXCmkqPk'
|
const webhookUrl = 'https://discord.com/api/webhooks/1262482329671176232/yAHgxkP2JSBPpdjmz6mdABu5yRkXxatXcbzI91iAjy0jM0z1kRzE1HZqzK5OGXCmkqPk'
|
||||||
const webhookClient = new WebhookClient({ url: webhookUrl });
|
const webhookClient = new WebhookClient({ url: webhookUrl });
|
||||||
|
|
||||||
// const chatEvents = new EventEmitter()
|
const chatEvents = new EventEmitter()
|
||||||
// const bot = new ProudCircleBot('ProudCircle')
|
const bot = new ProudCircleBot('ProudCircle')
|
||||||
|
|
||||||
const test_str = '§b[MVP§0++§b] illyum §e[STAFF]'
|
|
||||||
const guildMsgSender = new GuildMessageSender('illyum', '§b[MVP§0++§b]', '§e[STAFF]')
|
|
||||||
const guildMessage = new GuildMessage('This is a test!', guildMsgSender)
|
|
||||||
|
|
||||||
async function main() {
|
|
||||||
try {
|
|
||||||
await sendWebhookMessage(guildMessage);
|
|
||||||
// Additional async calls can be made here
|
|
||||||
} catch (error) {
|
|
||||||
console.error(error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
main();
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user