#Attempting to get a channel's name stops function

1 messages · Page 1 of 1 (latest)

prime girder
#

Probably not important, but I'm brand new to DSharp+.
Whenever I try to use targetChannel.Name (setting it to a variable, printing it, etc) it just stops the function in it's tracks, and gives the Application did not respond error, and nothing in the console.
I tried putting it in a try catch but that didn't do anything. To confirm it stopped the function entirely, I tried placing the call above the ConnectAsync line, and the bot then never connected to the channel.

real drumBOT
#

🏷 no exception:

Your command/autocomplete/eventhandler doesnt produce the expected result but you dont got any exception? Those are all places where the libary or a extension catches all exception and fires a event which contains those.

Exception in DSharpPlus.SlashCommands slash commands -> SlashCommandsExtension#SlashCommandErrored
Exception in DSharpPlus.SlashCommands autocomplete -> SlashCommandsExtension#AutocompleteErrored
Exception in DSharpPlus.CommandsNext text commands -> CommandsNextExtension#CommandErrored
Exceptions in DSharpPlus.Commands code -> CommandsExtension#CommandErrored
Exception in an eventhandler (DiscordClient events) -> DiscordClient#ClientErrored

prime girder
#

Thank you! That told me the problem, though I don't know how to fix it.
It throws the error Unable to load DLL 'libopus': The specified module could not be found..
I encountered this earlier, and tried to find a way to fix it and couldn't, and ended up forgetting about it after moving some things around.