Add variation selector-16 as appropriate to emojis across Red (#4127)

This commit is contained in:
jack1142
2020-08-10 03:05:57 +02:00
committed by GitHub
parent 4385aac90c
commit 01a6ef3a8f
15 changed files with 70 additions and 162 deletions

View File

@@ -30,7 +30,7 @@ softban = {
unban = {
"name": "unban",
"default_setting": True,
"image": "\N{DOVE OF PEACE}",
"image": "\N{DOVE OF PEACE}\N{VARIATION SELECTOR-16}",
"case_str": "Unban",
}
voiceban = {
@@ -42,7 +42,7 @@ voiceban = {
voiceunban = {
"name": "voiceunban",
"default_setting": True,
"image": "\N{SPEAKER}",
"image": "\N{SPEAKER}\N{VARIATION SELECTOR-16}",
"case_str": "Voice Unban",
}
voicemute = {
@@ -69,19 +69,19 @@ servermute = {
voiceunmute = {
"name": "vunmute",
"default_setting": False,
"image": "\N{SPEAKER}",
"image": "\N{SPEAKER}\N{VARIATION SELECTOR-16}",
"case_str": "Voice Unmute",
}
channelunmute = {
"name": "cunmute",
"default_setting": False,
"image": "\N{SPEAKER}",
"image": "\N{SPEAKER}\N{VARIATION SELECTOR-16}",
"case_str": "Channel Unmute",
}
serverunmute = {
"name": "sunmute",
"default_setting": True,
"image": "\N{SPEAKER}",
"image": "\N{SPEAKER}\N{VARIATION SELECTOR-16}",
"case_str": "Server Unmute",
}

View File

@@ -223,4 +223,8 @@ def start_adding_reactions(
return loop.create_task(task())
DEFAULT_CONTROLS = {"": prev_page, "": close_menu, "": next_page}
DEFAULT_CONTROLS = {
"\N{LEFTWARDS BLACK ARROW}\N{VARIATION SELECTOR-16}": prev_page,
"\N{CROSS MARK}": close_menu,
"\N{BLACK RIGHTWARDS ARROW}\N{VARIATION SELECTOR-16}": next_page,
}