mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- removed unused attributes on commands
- Removed some commented out files
This commit is contained in:
@@ -23,7 +23,7 @@ namespace NadekoBot.Modules.Searches
|
||||
_google = google;
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
[NadekoCommand, Aliases]
|
||||
public async Task Translate(string langs, [Leftover] string text = null)
|
||||
{
|
||||
try
|
||||
@@ -65,7 +65,7 @@ namespace NadekoBot.Modules.Searches
|
||||
Nodel
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
[NadekoCommand, Aliases]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
[UserPerm(GuildPerm.Administrator)]
|
||||
[OwnerOnly]
|
||||
@@ -91,7 +91,7 @@ namespace NadekoBot.Modules.Searches
|
||||
}
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
[NadekoCommand, Aliases]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
public async Task AutoTransLang([Leftover] string langs = null)
|
||||
{
|
||||
@@ -121,7 +121,7 @@ namespace NadekoBot.Modules.Searches
|
||||
await ReplyConfirmLocalizedAsync("atl_set", from, to).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
[NadekoCommand, Aliases]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
public async Task Translangs()
|
||||
{
|
||||
|
Reference in New Issue
Block a user