DiscordIntegration

DiscordIntegration

3M Downloads

All commands returning "Unknown Command"

imranh101 opened this issue ยท 6 comments

commented

Hello, having an issue here. Have custom command

{"name":"whitelist","cmd":"whitelist %args%","roles":"Admin"}

Whenever I do !whitelist namehere in Discord, bot in discord returns unknown command, try /help for a list of commands

Have also tried

{"name":"whitelist","cmd":"/whitelist %args%","roles":"Admin"}

Also returns same output.

Have also tried other commands like /op and /kick, all are returning same output.

Chat pass-through is working fine as are death messages, etc.

commented

Which Minecraft version and which mod version?

commented

This setup is working for me.
image

commented

Using Minecrafat 1.7.10 and discordintegration 1.7.10-2.0.1 ... strange

On Sun, Aug 21, 2016 at 8:57 AM, Chikachi [email protected] wrote:

This setup is working for me.
[image: image]
https://cloud.githubusercontent.com/assets/10409177/17837617/f08f46d2-67b7-11e6-82fd-3a26d523ec0e.png

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AULFkxM7jT2YW1Cl6qT3EyhFUpQjYYdfks5qiFlWgaJpZM4JpP2M
.

commented

Have I messed something up here? Apologies for messyness for some reason I
can't get any program to open it up with proper formatting.

{"discord":{"token":"mytokenishere","channel":"mychannelishere","ignoreBots":false,"commands":{"prefix":"!","online":{"enabled":true,"roles":[],"aliases":[]},"tps":{"enabled":false,"roles":[],"aliases":[],"colored":false},"unstuck":{"enabled":false,"roles":["AdminRoleHere"],"aliases":[]},"custom":[{"name":"op","cmd":"op
%args%","roles":"Admin"},{"name":"whitelist","cmd":"whitelist
%args%","roles":"Admin"}]}},"messages":{"discord":{"chat":{"enabled":true,"message":"<%USER%>
%MESSAGE%","relaySayCommand":true,"useEmotes":true},"death":{"enabled":true,"message":"%USER%
%MESSAGE%"},"achievement":{"enabled":true,"message":"Congrats to %USER%
for earning the achievement %ACHIEVEMENT%
(%DESCRIPTION%)"},"join":{"enabled":true,"message":"%USER% has joined
the server!"},"leave":{"enabled":true,"message":"%USER% left the
server!"},"startup":{"enabled":false,"message":"Server
started
"},"shutdown":{"enabled":false,"message":"Server
shutdown
"}},"minecraft":{"chat":{"enabled":true,"message":"<%USER%>
%MESSAGE%","maxLength":-1,"usernameColor":"red"}}},"experimental":{"fakePlayers":false}}

On Sun, Aug 21, 2016 at 11:41 AM, Imran Haque [email protected] wrote:

Using Minecrafat 1.7.10 and discordintegration 1.7.10-2.0.1 ... strange

On Sun, Aug 21, 2016 at 8:57 AM, Chikachi [email protected]
wrote:

This setup is working for me.
[image: image]
https://cloud.githubusercontent.com/assets/10409177/17837617/f08f46d2-67b7-11e6-82fd-3a26d523ec0e.png

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AULFkxM7jT2YW1Cl6qT3EyhFUpQjYYdfks5qiFlWgaJpZM4JpP2M
.

commented

Also note these commands do work fine when simply typed in to server
console manually

On Sun, Aug 21, 2016 at 11:51 AM, Imran Haque [email protected] wrote:

Have I messed something up here? Apologies for messyness for some reason I
can't get any program to open it up with proper formatting.

{"discord":{"token":"mytokenishere","channel":"
mychannelishere","ignoreBots":false,"commands":{"prefix":"!"
,"online":{"enabled":true,"roles":[],"aliases":[]},"tps":
{"enabled":false,"roles":[],"aliases":[],"colored":false},"
unstuck":{"enabled":false,"roles":["AdminRoleHere"],"
aliases":[]},"custom":[{"name":"op","cmd":"op %args%","roles":"Admin"},{"
name":"whitelist","cmd":"whitelist %args%","roles":"Admin"}]}},"
messages":{"discord":{"chat":{"enabled":true,"message":"<%USER%>
%MESSAGE%","relaySayCommand":true,"useEmotes":true},"death"
:{"enabled":true,"message":"%USER% %MESSAGE%"},"achievement":{"
enabled":true,"message":"Congrats to %USER% for earning the
achievement %ACHIEVEMENT% (%DESCRIPTION%)"},"join":{"
enabled":true,"message":"%USER% has joined the
server!"},"leave":{"enabled":true,"message":"%USER% left the
server!"},"startup":{"enabled":false,"message":"Server
started
"},"shutdown":{"enabled":false,"message":"Server
shutdown
"}},"minecraft":{"chat":{"enabled":true,"message":"<%USER%>
%MESSAGE%","maxLength":-1,"usernameColor":"red"}}},"
experimental":{"fakePlayers":false}}

On Sun, Aug 21, 2016 at 11:41 AM, Imran Haque [email protected] wrote:

Using Minecrafat 1.7.10 and discordintegration 1.7.10-2.0.1 ... strange

On Sun, Aug 21, 2016 at 8:57 AM, Chikachi [email protected]
wrote:

This setup is working for me.
[image: image]
https://cloud.githubusercontent.com/assets/10409177/17837617/f08f46d2-67b7-11e6-82fd-3a26d523ec0e.png

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AULFkxM7jT2YW1Cl6qT3EyhFUpQjYYdfks5qiFlWgaJpZM4JpP2M
.

commented

Have you tried running the server without any other mods and see if the issue still occurs?

If you try it on your current server, remember to backup the world ;)