Comments (4)
Hi, in skip.js line 48 you have to change permissions.has("MANAGE_GUILD") to the new form. Give me a min
from music-bot.
put this instead of "MANAGE_GUILD" PermissionsBitField.Flags.ManageGuild
and tell me if it works ^^
And at the top of the file put const {PermissionsBitField} = require("discord.js");
from music-bot.
It worked ! thanks :3
from music-bot.
Hey
As of commit 24a88b4, in respect to the new import / export syntax of EcmaScript 6 (ES6). The new syntax would be:
import { PermissionsBitField } from "discord.js";
You do not need to touch the PermissionsBitField.Flags.ManageGuild
in the intents section.
Kind Regards,
Will
from music-bot.
Related Issues (10)
- lavalink
- How do i change the name and description of slash commands? HOT 1
- Multi Guild emoji HOT 6
- Couldn't join the voice channel HOT 2
- Couldn't join the voice channel HOT 3
- There was an error with the music player Invalid regular expression: missing / HOT 8
- Music player aborted when playing long songs HOT 1
- Invalid or unexpected token HOT 8
- Interface recommendation and multi-language support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from music-bot.