discordnim icon indicating copy to clipboard operation
discordnim copied to clipboard

Discord library for nim

Results 6 discordnim issues
Sort by recently updated
recently updated
newest added

The comments in the README started with `//`, so I have been changed to `#`.

Hello ! I tried to run basic_bot.nim code. Unfortunately it is not compile and return an error message after compiling with nim c -d:ssl mycode.nim : ```/Users/nedss/.nimble/pkgs/discord-2.3.0/src/discord.nim(107, 115) template/generic instantiation...

When trying the basic_bot example, I get a rather quick crash after a moment of the bot successfully working. Here is the output: ``` basic_bot.nim(19) basic_bot asyncdispatch.nim(1656) waitFor asyncdispatch.nim(1516) poll...

```nim Hint: operation successful (97009 lines compiled; 72.614 sec total; 226.867MiB peakmem; Debug Build) [SuccessX] Hint: C:\Users\Rizwan\Desktop\Projects\Nim!\test.exe [Exec] Traceback (most recent call last) C:\Users\Rizwan\.choosenim\toolchains\nim-0.20.0\lib\pure\asyncdispatch.nim(1839) waitFor C:\Users\Rizwan\.choosenim\toolchains\nim-0.20.0\lib\pure\asyncdispatch.nim(1533) poll C:\Users\Rizwan\.choosenim\toolchains\nim-0.20.0\lib\pure\asyncdispatch.nim(373) runOnce C:\Users\Rizwan\.choosenim\toolchains\nim-0.20.0\lib\pure\asyncdispatch.nim(210)...

Running the basic bot example, I get the following crash after a short time: ``` basic_bot.nim(19) basic_bot asyncdispatch.nim(1656) waitFor asyncdispatch.nim(1516) poll asyncdispatch.nim(1282) runOnce asyncdispatch.nim(191) processPendingCallbacks asyncmacro.nim(36) sessionHandleSocketMessage_continue discord.nim(354) sessionHandleSocketMessageIter asyncmacro.nim(313)...