Files
discordeno/.github/ISSUE_TEMPLATE/bug_report.md
ITOH d7883855ec refactor(.github,README,gateway,plugins/fileloader,tests,types)!: make intent calculation manual
This changes the calculation of intents to be manual to the dev.
This is to improve overall consistency of our code base, also it is not a big drawback for users since intents are usually done once and then never (seldom) touched again.
2022-05-24 23:16:01 +02:00

998 B

name, about, title, labels, assignees
name about title labels assignees
Bug report Create a report to help us improve bug

Describe the bug A clear and concise description of what the bug is.

To Reproduce Write a small mod.ts example to replicate the behavior.

import { createBot, startBot } from "https://deno.land/x/discordeno/mod.ts";

const token = "DO NOT PUT TOKEN HERE!!!";
const botId = BigInt(atob(TOKEN.split(".")[0]));

const bot = createBot({
  token,
  botId,
  events: {
    // ADD EVENTS NEEDED TO SHOW THE BUG HERE
  },
  intents: 0, // ADD INTENTS NEEDED HERE FOR YOUR TEST IF NECESSARY
});

await startBot(bot);

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version details (please complete the following information):

  • Discordeno version: [e.g. 10.5.0]
  • Deno version: [e.g. 1.8.0]

Additional context Add any other context about the problem here.