move object chat to its own channel
This commit is contained in:
parent
eb4a3075ea
commit
237405a6a7
2 changed files with 6 additions and 2 deletions
|
|
@ -217,6 +217,10 @@ namespace BetterSecondBot.DiscordSupervisor
|
|||
{
|
||||
display_topic = "Actions -> !clear";
|
||||
}
|
||||
else if (channelname == "objectchat")
|
||||
{
|
||||
display_topic = "Actions -> !clear";
|
||||
}
|
||||
else if (sender_id == UUID.Zero.ToString())
|
||||
{
|
||||
if (controler.getBot() != null)
|
||||
|
|
|
|||
|
|
@ -87,11 +87,11 @@ namespace BetterSecondBot.DiscordSupervisor
|
|||
{
|
||||
if (sender_uuid != UUID.Zero)
|
||||
{
|
||||
await SendEmbedToChannelAsync("localchat", sender_name, message, Discord.Color.DarkMagenta, "bot", UUID.Zero, "bot").ConfigureAwait(false);
|
||||
await SendEmbedToChannelAsync("objectchat", sender_name, message, Discord.Color.DarkMagenta, "bot", UUID.Zero, "bot").ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
await SendEmbedToChannelAsync("localchat", sender_name, message, Discord.Color.DarkRed, "bot", UUID.Zero, "bot").ConfigureAwait(false);
|
||||
await SendEmbedToChannelAsync("objectchat", sender_name, message, Discord.Color.DarkRed, "bot", UUID.Zero, "bot").ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue