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

No events ever fire #191

Open
ThePandaParade opened this issue Jun 5, 2021 · 0 comments
Open

No events ever fire #191

ThePandaParade opened this issue Jun 5, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ThePandaParade
Copy link

ThePandaParade commented Jun 5, 2021

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
@ThePandaParade ThePandaParade added the bug Something isn't working label Jun 5, 2021
@ThePandaParade ThePandaParade changed the title Ready event never fires No events ever fire Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants