Names of the people who dm the bot now properly show up when .fwmsgs is enabled
This commit is contained in:
parent
bffb991264
commit
2248298bc9
@ -80,7 +80,7 @@ namespace NadekoBot.Modules.Administration
|
||||
{
|
||||
var firstOwnerChannel = ownerChannels.First();
|
||||
if (firstOwnerChannel.Recipient.Id != msg.Author.Id)
|
||||
try { await firstOwnerChannel.SendMessageAsync(msg.Content).ConfigureAwait(false); } catch { }
|
||||
try { await firstOwnerChannel.SendMessageAsync(toSend).ConfigureAwait(false); } catch { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -169,8 +169,6 @@ namespace NadekoBot.Modules.Utility
|
||||
{
|
||||
var matches = emojiFinder.Matches(emojis);
|
||||
|
||||
|
||||
|
||||
var result = string.Join("\n", matches.Cast<Match>()
|
||||
.Select(m => $"`Name:` {m.Groups["name"]} `Link:` http://discordapp.com/api/emojis/{m.Groups["id"]}.png"));
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
"emitEntryPoint": true,
|
||||
"allowUnsafe": true,
|
||||
"compile": {
|
||||
"exclude": [ "data" ]
|
||||
"exclude": [ "data", "credentials.json", "credentials_example.json" ]
|
||||
},
|
||||
"copyToOutput": {
|
||||
"include": [ "data" ],
|
||||
|
Loading…
Reference in New Issue
Block a user