Skip to content
#

Discord

discord logo

Discord is a proprietary freeware voice-over-Internet Protocol (VoIP) application designed for video gaming communities, that specializes in text, image, video, and audio communication between users in a chat channel.

Here are 13,449 public repositories matching this topic...

duncanspumpkin
duncanspumpkin commented Feb 14, 2021

We currently use a macro for writing down a money amount as a literal. We should move to a more modern C++ representation with a user defined literal like the below:

constexpr money32 operator"" _GBP(long double money)
{
    return money * 10;
}

static_assert(MONEY(2, 40) == 2.40_GBP);

Go through the codebase and replace all MONEY macro uses with the equivalent version. You m

Liz-chan
Liz-chan commented May 20, 2021

Flavor

GUI (Graphical User Interface)

Export format

HTML

Details

In the latest version, if you open an HTML export that you've made, it connects to every domain that has been used for sending media instead of using Discord's proxy like the official client uses. This is a security issue since those endpoints can change in the future, or more likely, they could also be IP loggers th

Flame442
Flame442 commented Jun 3, 2021

What Red version are you using?

3.4.9

Cog name

Warnings

Command name

warn

What did you expect to happen?

An error when trying to run [p]warn with a negative or 0 number of points for a custom reason.

What actually happened?

It blindly accepts the passed points.

How can we reproduce this error?

  1. Enable custom reasons
  2. [p]warn <user> -1 test
  3. `[p]warnin
Organization
discord
Website
discord.com
Wikipedia
Wikipedia