Skip to content

Instantly share code, notes, and snippets.

View Kile's full-sized avatar
💭
Minding my own business

Kile Kile

💭
Minding my own business
View GitHub Profile
@Kile
Kile / the_future_of_killua.md
Last active August 28, 2021 03:17
Infos about the future of the discord bot Killua

discord.py, the library Killua is currently using, is shutting down

This might not sound like a big thing... but it is. As announced here discord.py will not be maintained or updated starting immediately. Without having support for a lot of discord components yet.

What does this mean

A few weeks ago, discord announced the priviledged message intent. In a nutshell, only bots with a valid usecase for it will be allowed to read messages send by users. This means that they also won't recognise commands because they are also messages.

Image

const commands = new discord.command.CommandGroup();
const bug_channel = '823321914415251486'; //channel with bug reports
const feedback_channel = '823329566386028584'; // feedback channel
const role = '823321334598860801'; //role with perms to report bugs
commands.on(
'bug',
(args) => ({ text: args.text() }),
async (message, { text }) => {
if (!message.member.roles.includes(role)) {