1
0
Fork 0
mirror of https://gitlab.com/niansa/SomeBot.git synced 2025-03-06 20:48:26 +01:00

Minor fix in embed creation

This commit is contained in:
niansa 2022-11-05 18:15:45 +01:00
parent c229cb83da
commit a02e0c7bcf

View file

@ -42,8 +42,8 @@ public:
// Send embed
bot->cluster.message_create(dpp::message().set_channel_id(event.command.channel_id).add_embed(embed));
// Report success
event.reply(dpp::message(std::string("Das Embed wurde erstellt!\n")
+(color==-1?"**Achtung:** Die Angegebene Farbe wurde nicht erkannt! Versuche es mit einem Farbcode erneut.":"")).set_flags(dpp::message_flags::m_ephemeral));
event.reply(dpp::message(std::string("Das Embed wurde erstellt!")
+(color==-1?"\n**Achtung:** Die Angegebene Farbe wurde nicht erkannt! Versuche es mit einem Farbcode erneut.":"")).set_flags(dpp::message_flags::m_ephemeral));
});
}
};