• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] Devi's Discord Library (dv_discord)
#1
Devi's Discord Library

(dv_discord)


to be improved
  Reply
#2
(2020-11-27, 06:58 AM)Dev86 Wrote: This library also makes the DCC_ prefix on the discord-connector natives optional, meaning you can use GetUserName instead of DCC_GetUserName.

Why in the world...you know that DCC_ prefix is there with a reason, right?
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply
#3
(2020-11-27, 06:58 AM)Dev86 Wrote: This library also makes the DCC_ prefix on the discord-connector natives optional, meaning you can use GetUserName instead of DCC_GetUserName.

What an odd choice, I recommend you remove that. "GetUserName" is such a common function that someone probably has in their script.

Your code is also wrong, you're using strfind, so if I do ban! it will be a valid command, when it shouldn't. It should be only at the start. Or alternatively, you should let the user specify.
  Reply
#4
this is awful
  Reply


Forum Jump: