The Wayback Machine - https://web.archive.org/web/20210822064828/https://github.com/topics/discord
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 15,214 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

phenom4n4n
phenom4n4n commented Jul 13, 2021

What Red version are you using?

3.4.12

Cog name

Mod

Command name

rename

What did you expect to happen?

The bot would respond, telling the user that they cannot edit the names of members higher than them.

What actually happened?

The user was able to edit the name of a member higher than them.

How can we reproduce this error?

  1. Place the bot’s role above 2 users
Organization
discord
Website
discord.com
Wikipedia
Wikipedia