- 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:
runebaas 2020-06-19 00:10:43 +02:00
parent baea4528e1
commit f7908c2a0c
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
2 changed files with 2 additions and 7 deletions

View file

@ -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"

View file

@ -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());