Updated commandlist
This commit is contained in:
parent
1e7a3bf3bc
commit
53b0b7d3a5
@ -125,6 +125,14 @@ Command and aliases | Description | Usage
|
|||||||
### Gambling
|
### Gambling
|
||||||
Command and aliases | Description | Usage
|
Command and aliases | Description | Usage
|
||||||
----------------|--------------|-------
|
----------------|--------------|-------
|
||||||
|
`$claimwaifu` `$claim` | Claim a waifu for yourself by spending currency. You must spend atleast 10% more than her current value unless she set `$affinity` towards you. | `$claim 50 @Himesama`
|
||||||
|
`$divorce` | Releases your claim on a specific waifu. You will get some of the money you've spent back unless that waifu has an affinity towards you. 6 hours cooldown. | `$divorce @CheatingSloot`
|
||||||
|
`$affinity` | Sets your affinity towards someone you want to be claimed by. Setting affinity will reduce their `$claim` on you by 20%. You can leave second argument empty to clear your affinity. 30 minutes cooldown. | `$affinity @MyHusband` or `$affinity`
|
||||||
|
`$waifus` `$waifulb` | Shows top 9 waifus. | `$waifus`
|
||||||
|
`$waifuinfo` `$waifustats` | Shows waifu stats for a target person. Defaults to you if no user is provided. | `$waifuinfo @MyCrush` or `$waifuinfo`
|
||||||
|
`$slotstats` | Shows the total stats of the slot command for this bot's session. **Bot Owner only.** | `$slotstats`
|
||||||
|
`$slottest` | Tests to see how much slots payout for X number of plays. **Bot Owner only.** | `$slottest 1000`
|
||||||
|
`$slot` | Play Nadeko slots. Max bet is 999. 3 seconds cooldown per user. | `$slot 5`
|
||||||
`$flip` | Flips coin(s) - heads or tails, and shows an image. | `$flip` or `$flip 3`
|
`$flip` | Flips coin(s) - heads or tails, and shows an image. | `$flip` or `$flip 3`
|
||||||
`$betflip` `$bf` | Bet to guess will the result be heads or tails. Guessing awards you 1.8x the currency you've bet. | `$bf 5 heads` or `$bf 3 t`
|
`$betflip` `$bf` | Bet to guess will the result be heads or tails. Guessing awards you 1.8x the currency you've bet. | `$bf 5 heads` or `$bf 3 t`
|
||||||
`$draw` | Draws a card from the deck.If you supply number X, she draws up to 5 cards from the deck. | `$draw` or `$draw 5`
|
`$draw` | Draws a card from the deck.If you supply number X, she draws up to 5 cards from the deck. | `$draw` or `$draw 5`
|
||||||
@ -132,6 +140,7 @@ Command and aliases | Description | Usage
|
|||||||
`$roll` | Rolls 0-100. If you supply a number [x] it rolls up to 30 normal dice. If you split 2 numbers with letter d (xdy) it will roll x dice from 1 to y. Y can be a letter 'F' if you want to roll fate dice instead of dnd. | `$roll` or `$roll 7` or `$roll 3d5` or `$roll 5dF`
|
`$roll` | Rolls 0-100. If you supply a number [x] it rolls up to 30 normal dice. If you split 2 numbers with letter d (xdy) it will roll x dice from 1 to y. Y can be a letter 'F' if you want to roll fate dice instead of dnd. | `$roll` or `$roll 7` or `$roll 3d5` or `$roll 5dF`
|
||||||
`$rolluo` | Rolls X normal dice (up to 30) unordered. If you split 2 numbers with letter d (xdy) it will roll x dice from 1 to y. | `$rolluo` or `$rolluo 7` or `$rolluo 3d5`
|
`$rolluo` | Rolls X normal dice (up to 30) unordered. If you split 2 numbers with letter d (xdy) it will roll x dice from 1 to y. | `$rolluo` or `$rolluo 7` or `$rolluo 3d5`
|
||||||
`$nroll` | Rolls in a given range. | `$nroll 5` (rolls 0-5) or `$nroll 5-15`
|
`$nroll` | Rolls in a given range. | `$nroll 5` (rolls 0-5) or `$nroll 5-15`
|
||||||
|
`$startevent` | Starts one of the events seen on public nadeko. **Bot Owner only.** | `$startevent flowerreaction`
|
||||||
`$race` | Starts a new animal race. | `$race`
|
`$race` | Starts a new animal race. | `$race`
|
||||||
`$joinrace` `$jr` | Joins a new race. You can specify an amount of currency for betting (optional). You will get YourBet*(participants-1) back if you win. | `$jr` or `$jr 5`
|
`$joinrace` `$jr` | Joins a new race. You can specify an amount of currency for betting (optional). You will get YourBet*(participants-1) back if you win. | `$jr` or `$jr 5`
|
||||||
`$raffle` | Prints a name and ID of a random user from the online list from the (optional) role. | `$raffle` or `$raffle RoleName`
|
`$raffle` | Prints a name and ID of a random user from the online list from the (optional) role. | `$raffle` or `$raffle RoleName`
|
||||||
@ -206,7 +215,6 @@ Command and aliases | Description | Usage
|
|||||||
`!!localplaylst` `!!lopl` | Queues all songs from a directory. **Bot Owner only.** | `!!lopl C:/music/classical`
|
`!!localplaylst` `!!lopl` | Queues all songs from a directory. **Bot Owner only.** | `!!lopl C:/music/classical`
|
||||||
`!!radio` `!!ra` | Queues a radio stream from a link. It can be a direct mp3 radio stream, .m3u, .pls .asx or .xspf (Usage Video: <https://streamable.com/al54>) | `!!ra radio link here`
|
`!!radio` `!!ra` | Queues a radio stream from a link. It can be a direct mp3 radio stream, .m3u, .pls .asx or .xspf (Usage Video: <https://streamable.com/al54>) | `!!ra radio link here`
|
||||||
`!!local` `!!lo` | Queues a local file by specifying a full path. **Bot Owner only.** | `!!lo C:/music/mysong.mp3`
|
`!!local` `!!lo` | Queues a local file by specifying a full path. **Bot Owner only.** | `!!lo C:/music/mysong.mp3`
|
||||||
`!!move` `!!mv` | Moves the bot to your voice channel. (works only if music is already playing) | `!!mv`
|
|
||||||
`!!remove` `!!rm` | Remove a song by its # in the queue, or 'all' to remove whole queue. | `!!rm 5`
|
`!!remove` `!!rm` | Remove a song by its # in the queue, or 'all' to remove whole queue. | `!!rm 5`
|
||||||
`!!movesong` `!!ms` | Moves a song from one position to another. | `!!ms 5>3`
|
`!!movesong` `!!ms` | Moves a song from one position to another. | `!!ms 5>3`
|
||||||
`!!setmaxqueue` `!!smq` | Sets a maximum queue size. Supply 0 or no argument to have no limit. | `!!smq 50` or `!!smq`
|
`!!setmaxqueue` `!!smq` | Sets a maximum queue size. Supply 0 or no argument to have no limit. | `!!smq 50` or `!!smq`
|
||||||
@ -226,7 +234,7 @@ Command and aliases | Description | Usage
|
|||||||
Command and aliases | Description | Usage
|
Command and aliases | Description | Usage
|
||||||
----------------|--------------|-------
|
----------------|--------------|-------
|
||||||
`~hentai` | Shows a hentai image from a random website (gelbooru or danbooru or konachan or atfbooru or yandere) with a given tag. Tag is optional but preferred. Only 1 tag allowed. | `~hentai yuri`
|
`~hentai` | Shows a hentai image from a random website (gelbooru or danbooru or konachan or atfbooru or yandere) with a given tag. Tag is optional but preferred. Only 1 tag allowed. | `~hentai yuri`
|
||||||
`~autohentai` | Posts a hentai every X seconds with a random tag from the provided tags. Use `|` to separate tags. 20 seconds minimum. Provide no arguments to disable. | `~autohentai 30 yuri|tail|long_hair` or `~autohentai`
|
`~autohentai` | Posts a hentai every X seconds with a random tag from the provided tags. Use `|` to separate tags. 20 seconds minimum. Provide no arguments to disable. **Requires ManageMessages channel permission.** | `~autohentai 30 yuri|tail|long_hair` or `~autohentai`
|
||||||
`~hentaibomb` | Shows a total 5 images (from gelbooru, danbooru, konachan, yandere and atfbooru). Tag is optional but preferred. | `~hentaibomb yuri`
|
`~hentaibomb` | Shows a total 5 images (from gelbooru, danbooru, konachan, yandere and atfbooru). Tag is optional but preferred. | `~hentaibomb yuri`
|
||||||
`~danbooru` | Shows a random hentai image from danbooru with a given tag. Tag is optional but preferred. (multiple tags are appended with +) | `~danbooru yuri+kissing`
|
`~danbooru` | Shows a random hentai image from danbooru with a given tag. Tag is optional but preferred. (multiple tags are appended with +) | `~danbooru yuri+kissing`
|
||||||
`~yandere` | Shows a random image from yandere with a given tag. Tag is optional but preferred. (multiple tags are appended with +) | `~yandere tag1+tag2`
|
`~yandere` | Shows a random image from yandere with a given tag. Tag is optional but preferred. (multiple tags are appended with +) | `~yandere tag1+tag2`
|
||||||
@ -249,6 +257,7 @@ Command and aliases | Description | Usage
|
|||||||
`;chnlfilterwords` `;cfw` | Toggles automatic deleting of messages containing banned words on the channel. Does not negate the ;srvrfilterwords enabled setting. Does not affect bot owner. | `;cfw`
|
`;chnlfilterwords` `;cfw` | Toggles automatic deleting of messages containing banned words on the channel. Does not negate the ;srvrfilterwords enabled setting. Does not affect bot owner. | `;cfw`
|
||||||
`;fw` | Adds or removes (if it exists) a word from the list of filtered words. Use`;sfw` or `;cfw` to toggle filtering. | `;fw poop`
|
`;fw` | Adds or removes (if it exists) a word from the list of filtered words. Use`;sfw` or `;cfw` to toggle filtering. | `;fw poop`
|
||||||
`;lstfilterwords` `;lfw` | Shows a list of filtered words. | `;lfw`
|
`;lstfilterwords` `;lfw` | Shows a list of filtered words. | `;lfw`
|
||||||
|
`;cmdcosts` | Shows a list of command costs. Paginated with 9 command per page. | `;cmdcosts` or `;cmdcosts 2`
|
||||||
`;cmdcooldown` `;cmdcd` | Sets a cooldown per user for a command. Set to 0 to remove the cooldown. | `;cmdcd "some cmd" 5`
|
`;cmdcooldown` `;cmdcd` | Sets a cooldown per user for a command. Set to 0 to remove the cooldown. | `;cmdcd "some cmd" 5`
|
||||||
`;allcmdcooldowns` `;acmdcds` | Shows a list of all commands and their respective cooldowns. | `;acmdcds`
|
`;allcmdcooldowns` `;acmdcds` | Shows a list of all commands and their respective cooldowns. | `;acmdcds`
|
||||||
`;ubl` | Either [add]s or [rem]oves a user specified by a mention or ID from a blacklist. **Bot Owner only.** | `;ubl add @SomeUser` or `;ubl rem 12312312313`
|
`;ubl` | Either [add]s or [rem]oves a user specified by a mention or ID from a blacklist. **Bot Owner only.** | `;ubl add @SomeUser` or `;ubl rem 12312312313`
|
||||||
|
@ -145,60 +145,60 @@ namespace NadekoBot.Modules.Gambling
|
|||||||
await Context.Channel.SendErrorAsync($"{Context.User.Mention} was unable to take {amount} {(amount == 1 ? CurrencyName : CurrencyPluralName)} from `{usrId}` because the user doesn't have that much {CurrencyPluralName}!").ConfigureAwait(false);
|
await Context.Channel.SendErrorAsync($"{Context.User.Mention} was unable to take {amount} {(amount == 1 ? CurrencyName : CurrencyPluralName)} from `{usrId}` because the user doesn't have that much {CurrencyPluralName}!").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
//[NadekoCommand, Usage, Description, Aliases]
|
||||||
[OwnerOnly]
|
//[OwnerOnly]
|
||||||
public Task BrTest(int tests = 1000)
|
//public Task BrTest(int tests = 1000)
|
||||||
{
|
//{
|
||||||
var t = Task.Run(async () =>
|
// var t = Task.Run(async () =>
|
||||||
{
|
// {
|
||||||
if (tests <= 0)
|
// if (tests <= 0)
|
||||||
return;
|
// return;
|
||||||
//multi vs how many times it occured
|
// //multi vs how many times it occured
|
||||||
var dict = new Dictionary<int, int>();
|
// var dict = new Dictionary<int, int>();
|
||||||
var generator = new NadekoRandom();
|
// var generator = new NadekoRandom();
|
||||||
for (int i = 0; i < tests; i++)
|
// for (int i = 0; i < tests; i++)
|
||||||
{
|
// {
|
||||||
var rng = generator.Next(0, 101);
|
// var rng = generator.Next(0, 101);
|
||||||
var mult = 0;
|
// var mult = 0;
|
||||||
if (rng < 67)
|
// if (rng < 67)
|
||||||
{
|
// {
|
||||||
mult = 0;
|
// mult = 0;
|
||||||
}
|
// }
|
||||||
else if (rng < 91)
|
// else if (rng < 91)
|
||||||
{
|
// {
|
||||||
mult = 2;
|
// mult = 2;
|
||||||
}
|
// }
|
||||||
else if (rng < 100)
|
// else if (rng < 100)
|
||||||
{
|
// {
|
||||||
mult = 4;
|
// mult = 4;
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
mult = 10;
|
// mult = 10;
|
||||||
|
|
||||||
if (dict.ContainsKey(mult))
|
// if (dict.ContainsKey(mult))
|
||||||
dict[mult] += 1;
|
// dict[mult] += 1;
|
||||||
else
|
// else
|
||||||
dict.Add(mult, 1);
|
// dict.Add(mult, 1);
|
||||||
}
|
// }
|
||||||
|
|
||||||
var sb = new StringBuilder();
|
// var sb = new StringBuilder();
|
||||||
const int bet = 1;
|
// const int bet = 1;
|
||||||
int payout = 0;
|
// int payout = 0;
|
||||||
foreach (var key in dict.Keys.OrderByDescending(x => x))
|
// foreach (var key in dict.Keys.OrderByDescending(x => x))
|
||||||
{
|
// {
|
||||||
sb.AppendLine($"x{key} occured {dict[key]} times. {dict[key] * 1.0f / tests * 100}%");
|
// sb.AppendLine($"x{key} occured {dict[key]} times. {dict[key] * 1.0f / tests * 100}%");
|
||||||
payout += key * dict[key];
|
// payout += key * dict[key];
|
||||||
}
|
// }
|
||||||
try
|
// try
|
||||||
{
|
// {
|
||||||
await Context.Channel.SendConfirmAsync("BetRoll Test Results", sb.ToString(),
|
// await Context.Channel.SendConfirmAsync("BetRoll Test Results", sb.ToString(),
|
||||||
footer: $"Total Bet: {tests * bet} | Payout: {payout * bet} | {payout * 1.0f / tests * 100}%");
|
// footer: $"Total Bet: {tests * bet} | Payout: {payout * bet} | {payout * 1.0f / tests * 100}%");
|
||||||
}
|
// }
|
||||||
catch { }
|
// catch { }
|
||||||
|
|
||||||
});
|
// });
|
||||||
return Task.CompletedTask;
|
// return Task.CompletedTask;
|
||||||
}
|
//}
|
||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
public async Task BetRoll(long amount)
|
public async Task BetRoll(long amount)
|
||||||
|
12
src/NadekoBot/Resources/CommandStrings.Designer.cs
generated
12
src/NadekoBot/Resources/CommandStrings.Designer.cs
generated
@ -2499,7 +2499,7 @@ namespace NadekoBot.Resources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Releases your claim on a specific waifu. You will get a part of your money back unless that waifu has an affinity towards you..
|
/// Looks up a localized string similar to Releases your claim on a specific waifu. You will get some of the money you've spent back unless that waifu has an affinity towards you. 6 hours cooldown..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string divorce_desc {
|
public static string divorce_desc {
|
||||||
get {
|
get {
|
||||||
@ -8439,7 +8439,7 @@ namespace NadekoBot.Resources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Sets your affinity towards someone you want to be claimed by. Setting affinity will reduce their `{0}claim` on you by 20%.
|
/// Looks up a localized string similar to Sets your affinity towards someone you want to be claimed by. Setting affinity will reduce their `{0}claim` on you by 20%. You can leave second argument empty to clear your affinity. 30 minutes cooldown..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string waifuclaimeraffinity_desc {
|
public static string waifuclaimeraffinity_desc {
|
||||||
get {
|
get {
|
||||||
@ -8448,7 +8448,7 @@ namespace NadekoBot.Resources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to `{0}affinity`.
|
/// Looks up a localized string similar to `{0}affinity @MyHusband` or `{0}affinity`.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string waifuclaimeraffinity_usage {
|
public static string waifuclaimeraffinity_usage {
|
||||||
get {
|
get {
|
||||||
@ -8466,7 +8466,7 @@ namespace NadekoBot.Resources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Shows waifu stats for a target person..
|
/// Looks up a localized string similar to Shows waifu stats for a target person. Defaults to you if no user is provided..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string waifuinfo_desc {
|
public static string waifuinfo_desc {
|
||||||
get {
|
get {
|
||||||
@ -8475,7 +8475,7 @@ namespace NadekoBot.Resources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to `{0}waifuinfo @MyCrush`.
|
/// Looks up a localized string similar to `{0}waifuinfo @MyCrush` or `{0}waifuinfo`.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string waifuinfo_usage {
|
public static string waifuinfo_usage {
|
||||||
get {
|
get {
|
||||||
@ -8493,7 +8493,7 @@ namespace NadekoBot.Resources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Shows top 10 waifus..
|
/// Looks up a localized string similar to Shows top 9 waifus..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string waifuleaderboard_desc {
|
public static string waifuleaderboard_desc {
|
||||||
get {
|
get {
|
||||||
|
@ -2983,10 +2983,10 @@
|
|||||||
<value>affinity</value>
|
<value>affinity</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuclaimeraffinity_desc" xml:space="preserve">
|
<data name="waifuclaimeraffinity_desc" xml:space="preserve">
|
||||||
<value>Sets your affinity towards someone you want to be claimed by. Setting affinity will reduce their `{0}claim` on you by 20%</value>
|
<value>Sets your affinity towards someone you want to be claimed by. Setting affinity will reduce their `{0}claim` on you by 20%. You can leave second argument empty to clear your affinity. 30 minutes cooldown.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuclaimeraffinity_usage" xml:space="preserve">
|
<data name="waifuclaimeraffinity_usage" xml:space="preserve">
|
||||||
<value>`{0}affinity`</value>
|
<value>`{0}affinity @MyHusband` or `{0}affinity`</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuclaim_cmd" xml:space="preserve">
|
<data name="waifuclaim_cmd" xml:space="preserve">
|
||||||
<value>claimwaifu claim</value>
|
<value>claimwaifu claim</value>
|
||||||
@ -3001,7 +3001,7 @@
|
|||||||
<value>waifus waifulb</value>
|
<value>waifus waifulb</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuleaderboard_desc" xml:space="preserve">
|
<data name="waifuleaderboard_desc" xml:space="preserve">
|
||||||
<value>Shows top 10 waifus.</value>
|
<value>Shows top 9 waifus.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuleaderboard_usage" xml:space="preserve">
|
<data name="waifuleaderboard_usage" xml:space="preserve">
|
||||||
<value>`{0}waifus`</value>
|
<value>`{0}waifus`</value>
|
||||||
@ -3010,7 +3010,7 @@
|
|||||||
<value>divorce</value>
|
<value>divorce</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="divorce_desc" xml:space="preserve">
|
<data name="divorce_desc" xml:space="preserve">
|
||||||
<value>Releases your claim on a specific waifu. You will get a part of your money back unless that waifu has an affinity towards you.</value>
|
<value>Releases your claim on a specific waifu. You will get some of the money you've spent back unless that waifu has an affinity towards you. 6 hours cooldown.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="divorce_usage" xml:space="preserve">
|
<data name="divorce_usage" xml:space="preserve">
|
||||||
<value>`{0}divorce @CheatingSloot`</value>
|
<value>`{0}divorce @CheatingSloot`</value>
|
||||||
@ -3019,9 +3019,9 @@
|
|||||||
<value>waifuinfo waifustats</value>
|
<value>waifuinfo waifustats</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuinfo_desc" xml:space="preserve">
|
<data name="waifuinfo_desc" xml:space="preserve">
|
||||||
<value>Shows waifu stats for a target person.</value>
|
<value>Shows waifu stats for a target person. Defaults to you if no user is provided.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="waifuinfo_usage" xml:space="preserve">
|
<data name="waifuinfo_usage" xml:space="preserve">
|
||||||
<value>`{0}waifuinfo @MyCrush`</value>
|
<value>`{0}waifuinfo @MyCrush` or `{0}waifuinfo`</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
@ -15,7 +15,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
private DiscordShardedClient client;
|
private DiscordShardedClient client;
|
||||||
private DateTime started;
|
private DateTime started;
|
||||||
|
|
||||||
public const string BotVersion = "1.1.3";
|
public const string BotVersion = "1.1.4";
|
||||||
|
|
||||||
public string Author => "Kwoth#2560";
|
public string Author => "Kwoth#2560";
|
||||||
public string Library => "Discord.Net";
|
public string Library => "Discord.Net";
|
||||||
|
Loading…
Reference in New Issue
Block a user