This repository was archived by the owner on Jul 11, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
No events ever fire #191
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The ready event on client never fires. (TS Script)
Edit Seems like the message event doesn't fire aswell
import { Client } from "wumpcord"
const client = new Client({
intents: ['guilds','guildMembers','guildMessages','directMessages'],
token: "REDACTED"
})
client.on('ready', async () => {
console.log("Bot started")
client.setStatus("online",{
type: 1,
name: "the feed"
})
})
client.on("message", async (event) => {
if (event.message.content == "beep") {event.message.channel.send("boop")}
})
client.connect()Options
- Node.js Version: v16.0.0
- Typescript Version: 4.3.2
- Wumpcord Version/Branch: 1.1.0/Indev (+master)
- Operating System: Windows 10 Proffesional
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working