- Remove accidental leftover from the GreetingProvider
- Add 2 additional aliases for !hello - Change Romanization to Roman in the !hello embed
This commit is contained in:
parent
baea4528e1
commit
f7908c2a0c
2 changed files with 2 additions and 7 deletions
|
@ -507,11 +507,6 @@ namespace Geekbot.net.Commands.Randomness.Greetings
|
||||||
Dialect = "Ancient"
|
Dialect = "Ancient"
|
||||||
},
|
},
|
||||||
new GreetingDto()
|
new GreetingDto()
|
||||||
{
|
|
||||||
Text = "something",
|
|
||||||
Language = "something"
|
|
||||||
},
|
|
||||||
new GreetingDto()
|
|
||||||
{
|
{
|
||||||
Text = "Aluu",
|
Text = "Aluu",
|
||||||
Language = "Greenlandic"
|
Language = "Greenlandic"
|
||||||
|
|
|
@ -17,7 +17,7 @@ namespace Geekbot.net.Commands.Randomness.Greetings
|
||||||
}
|
}
|
||||||
|
|
||||||
[Command("hello", RunMode = RunMode.Async)]
|
[Command("hello", RunMode = RunMode.Async)]
|
||||||
[Alias("greeting")]
|
[Alias("greeting", "hi", "hallo")]
|
||||||
[Summary("Say hello to the bot and get a reply in a random language")]
|
[Summary("Say hello to the bot and get a reply in a random language")]
|
||||||
public async Task GetGreeting()
|
public async Task GetGreeting()
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ namespace Geekbot.net.Commands.Randomness.Greetings
|
||||||
|
|
||||||
if (greeting.Romanization != null)
|
if (greeting.Romanization != null)
|
||||||
{
|
{
|
||||||
eb.AddInlineField("Romanization", greeting.Romanization);
|
eb.AddInlineField("Roman", greeting.Romanization);
|
||||||
}
|
}
|
||||||
|
|
||||||
await ReplyAsync(string.Empty, false, eb.Build());
|
await ReplyAsync(string.Empty, false, eb.Build());
|
||||||
|
|
Loading…
Reference in a new issue