#(NameRule) I can't ban a player from a discord through the API

1 messages · Page 1 of 1 (latest)

dusky forumBOT
#

(NameRule) I can't ban a player from a discord through the API

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

whole haven
#

!haste

woven saffronBOT
whole haven
#

!debug

woven saffronBOT
# whole haven !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

whole haven
#

Please use the pastebin for pasting scripts and share a debug record of the script running

echo pier
#

i know why it gave you a 401, but it's going to be important for you to debug it so i can show you why it says that

short pumice
#

!help

woven saffronBOT
# short pumice !help
Bot Command Help
**Available Informational Commands:**

help shows help output
hello shows a source code link
update [project ...] shows an update link for the named project(s)
github [project ...] shows a GitHub link for the named project(s)
issues [project ...] shows an issue posting link for the named project(s)
info <name ...> shows a prewritten informational notice reply
rule [rule ...] shows the identified rule
quote [quote] shows a random quote that matches the search (if any)

**Available Utility Commands:**

logcheck <link> gathers information from a server log paste
versioncheck <version text> checks whether a project version is current
script <link> checks a linked script for basic syntax validity

**Available Meta Docs Commands:**

command [name] [usage/tags] to search commands
mechanism [name] to search mechanisms
tag [name] to search tags
objecttype [name] to search object types
event [name] to search world script events
action [name] to search NPC assignment actions
language [name] to search language docs
guide [name] to search the beginner's guide pages
search [keyword] to search all meta docs

short pumice
woven saffronBOT
# short pumice !logcheck https://paste.denizenscript.com/View/104825
Server Version

Paper version git-Paper-782 (MC: 1.16.5)-- (Outdated build, behind by 12... Current build is 794)

Plugin Version(s)

Denizen: 1.2.5-SNAPSHOT (build 1776-REL) -- (:warning:Outdated build, behind by 6)
Depenizen: 2.0.0 (build 818) -- (Current build :white_check_mark:)
dDiscordBot: 0.7 (build 253) -- (Outdated build, behind by 6)

Checked For

@short pumice

Java Version

16.0.2 :white_check_mark:

Problematic Plugin(s)

PlugManX: 2.3.0 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.

Potentially Bad Line(s)

§7[Error Continued] §fCaused by: java.io.IOException: Server returned HTTP response code: 411 for URL: https://discord.com/api/guilds/1041420262471639130/bans/1056335984645640283 :warning: Log contains error messages.

short pumice
#

I will not update Denisen simply because, on my version, it gives errors to many commands.

feral radish
#

You're using a Denizen version that's 100's if not 1000's of builds behind, on an old unsupported version

#

You'll need to update

short pumice
#

Well, that's a good idea, but if I update at least the playsond, note (cuboid) and so on commands, they won't work for me, and that's an important part of my project.

and it's only on 1.16.5, I know this version is no longer supported, but what can I do.

feral radish
#

playsond, note (cuboid)
Do you mean the Denizen commands? if so they should definitely work

#

You should update to a supported version, preferably 1.19.3 - if you need any help updating feel free to ask here and we'd love to help

short pumice
#

Well, look, now I can install and through the log show that if I enter /ex playsound <playerTag> sound:sound, it will give a kernel error or something I don't even know.

feral radish
#

Sure, if you're having issues should post a log/debug and we can help

short pumice
#

O... i was mistaken, everything works, maybe mcmonkey fixed it, now I will install and check all new versions, now I will try to run that task again, with logs, if there are errors I will report

#

Thanks, I would have been left without updates 🙂

feral radish
#

No problem :D

short pumice
woven saffronBOT
# short pumice !logcheck https://paste.denizenscript.com/View/104827
Server Version

Paper version git-Paper-782 (MC: 1.16.5)-- (Outdated build, behind by 12... Current build is 794)

Plugin Version(s)

Denizen: 1.2.6-SNAPSHOT (build 1782-REL) -- (Current build :white_check_mark:)
Depenizen: 2.0.0 (build 818) -- (Current build :white_check_mark:)
dDiscordBot: 0.7 (build 253) -- (Outdated build, behind by 6)

Checked For

@short pumice

Java Version

16.0.2 :white_check_mark:

Problematic Plugin(s)

PlugManX: 2.3.0 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.

Potentially Bad Line(s)

§7[Error Continued] §fCaused by: java.io.IOException: Server returned HTTP response code: 411 for URL: https://discord.com/api/guilds/1041420262471639130/bans/1056335984645640283 :warning: Log contains error messages.

short pumice
#

@echo pier So I debugged, you seemed to say that you know what kind of error it gives out.

short pumice
#

Or maybe it may depend on dDiscordBot? it still seems to me not updated

echo pier
#

you said 401 which is why i would’ve known

#

but that last debug says 411

#

that means your content type didn’t go in i think?

#

but aya has a good point - at some point, i asked monkey to help me with fixing webget methods for something related to using it with discords api

short pumice
#

I wonder what I should do.. ah

whole haven
#

!rule 7 @short pumice

woven saffronBOT
short pumice
# woven saffron

In order to change the nickname here, do I need to change the profile nickname in general? @whole haven

short pumice
#

made

short pumice
#

I understand there is no solution to this, so I will do without it.. am I closing?

wheat sapphire
#

There's a solution to this lol

#

You can close it if you no longer want the solution

short pumice
#

Okay, I'll wait.

coral zephyrBOT
#

@short pumice

Thread Close Blocked

Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.

feral radish
#

Closing as that user is now banned