Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

No events ever fire #191

@StellaraUmbrix

Description

@StellaraUmbrix

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions