Comments (7)
I have seen some servers configured to disable slash commands. Double-check that this isn't the case with this issue. Sometimes people will disable slash commands because they do not want admin commands from another bot to appear. If this does not resolve the issue, can you verify that you can see the commands in a brand new server?
from factorio-fbsr.
Slash commands are definitely enabled. You can actually see ProBot’s in the screenshot above. I tried spinning up a new server and adding the bot there but same result unfortunately.
from factorio-fbsr.
Your screenshot is missing the "command permissions" section that is shown here: https://discord.com/blog/slash-commands-permissions-discord-apps-bots. Maybe it's somewhere else due to discord canary? Try to find that section and see if the commands are allowed there.
from factorio-fbsr.
Yeah, I was including that screenshot to demonstrate that the commands are missing. ProBot has them listed, even in Canary.
I am also a Discord dev so I started looking over the docs and it looks like the invite link needs to include the "applications.commands" scope in the dev portal's OAuth2 URL Generator for command permission to be granted. Perhaps the two invite links I tried are missing that?
from factorio-fbsr.
Maybe. Try https://discord.com/oauth2/authorize?client_id=310607046020169729&scope=bot+applications.commands&permissions=379968, it's the invite from the /info command. It has the applications.commands scope and works on my server.
from factorio-fbsr.
That's it! I previously used the invite links from top.gg and Factorio Cheat Sheet, but neither one worked. This one was added successfully and works as expected.
I also tried using the below URL to just authorize commands, which added successfully, but errored on use. In theory, it's all that would be needed for a bot that only responds to commands though. Perhaps an enhancement?
https://discord.com/api/oauth2/authorize?client_id=310607046020169729&scope=applications.commands
In any event, I appreciate your help! It's unfortunate that the scopes/permissions are in the URL itself since you don't have control of everywhere the invite link may exist.
Perhaps that is why this new system is starting in August...
https://support-dev.discord.com/hc/en-us/articles/4404772028055
from factorio-fbsr.
I'm glad that was the issue and not something more complicated! I've made a PR to get the link on the cheatsheet fixed.
from factorio-fbsr.
Related Issues (20)
- Admin-configurable disallow direct blueprints in certain channels HOT 2
- Change all parsing exceptions into info messages
- Upgrade images to high-res if available HOT 2
- Rail Station Names HOT 3
- Does not show more than one filter, logistics does not color more than one filter
- Don't display raw counts when modded HOT 1
- Show beacon bonuses on assemblers
- Add readme and license information HOT 2
- phantom speed modules HOT 4
- discord file urls are too long compared to alternatives HOT 1
- CamelCase typo breaking the bot on linux HOT 2
- Add an option to the webapi for local storage of images HOT 4
- Scale, max-width and max-heigh parameters HOT 1
- Doesn't render wires for combinators that are connected to themselves HOT 2
- Can I render a blueprint string locally? (No bots) HOT 8
- Get icons by sprite path (or something similar) HOT 1
- Add option to the webapi to not render the raw materials and build time HOT 2
- Train station names should default to an angle
- underscores are removed from URL HOT 1
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 factorio-fbsr.