Bug fixes in polls, emoji stuff and quotes
This commit is contained in:
parent
f96954a7e1
commit
0e217b8db1
4 changed files with 39 additions and 10 deletions
|
@ -25,8 +25,14 @@ namespace Geekbot.net.Commands
|
|||
try
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
var emojis = _emojiConverter.textToEmoji(text);
|
||||
if (emojis.Length > 1999)
|
||||
{
|
||||
await ReplyAsync("I can't take that much at once!");
|
||||
return;
|
||||
}
|
||||
await ReplyAsync($"*{Context.User.Username}#{Context.User.Discriminator} said:*");
|
||||
await ReplyAsync(_emojiConverter.textToEmoji(text));
|
||||
await ReplyAsync(emojis);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue