mirror of
https://github.com/Brazmann/SuperMachoBot.git
synced 2024-12-26 23:16:40 +00:00
Compare commits
3 commits
5196ef13d5
...
5bbf4a5806
Author | SHA1 | Date | |
---|---|---|---|
Brazman | 5bbf4a5806 | ||
Brazman | db1595114b | ||
Brazman | e801902e8d |
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -348,3 +348,6 @@ MigrationBackup/
|
||||||
|
|
||||||
# Ionide (cross platform F# VS Code tools) working folder
|
# Ionide (cross platform F# VS Code tools) working folder
|
||||||
.ionide/
|
.ionide/
|
||||||
|
|
||||||
|
# Discord server config
|
||||||
|
**/Config/config.json
|
|
@ -86,6 +86,23 @@ namespace SuperMachoBot.Commands
|
||||||
};
|
};
|
||||||
await ctx.CreateResponseAsync(embed);
|
await ctx.CreateResponseAsync(embed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[SlashCommand("UserList", "Stores all members in this server as a list.")]
|
||||||
|
public async Task UserListing(InteractionContext ctx)
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
var members = ctx.Guild.GetAllMembersAsync().Result;
|
||||||
|
Console.WriteLine("Obtained list");
|
||||||
|
foreach (var member in members)
|
||||||
|
{
|
||||||
|
Console.WriteLine(member.Username);
|
||||||
|
}
|
||||||
|
} catch (Exception ex)
|
||||||
|
{
|
||||||
|
await ctx.CreateResponseAsync(ex.Message.ToString());
|
||||||
|
}
|
||||||
|
await ctx.CreateResponseAsync("bruh");
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Economy Commands
|
#region Economy Commands
|
||||||
[SlashCommand("Balance", "Checks your balance")]
|
[SlashCommand("Balance", "Checks your balance")]
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"token": "",
|
|
||||||
"OwnerID": 0
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -9,11 +9,11 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DSharpPlus" Version="4.3.0-nightly-01146" />
|
<PackageReference Include="DSharpPlus" Version="4.3.0-nightly-01171" />
|
||||||
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.2.0-nightly-01091" />
|
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.3.0-nightly-01171" />
|
||||||
<PackageReference Include="DSharpPlus.Interactivity" Version="4.2.0-nightly-01091" />
|
<PackageReference Include="DSharpPlus.Interactivity" Version="4.3.0-nightly-01171" />
|
||||||
<PackageReference Include="DSharpPlus.Lavalink" Version="4.3.0-nightly-01146" />
|
<PackageReference Include="DSharpPlus.Lavalink" Version="4.3.0-nightly-01171" />
|
||||||
<PackageReference Include="DSharpPlus.SlashCommands" Version="4.3.0-nightly-01146" />
|
<PackageReference Include="DSharpPlus.SlashCommands" Version="4.3.0-nightly-01171" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.2-beta2" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.2-beta2" />
|
||||||
<Protobuf Include="**/*.proto" />
|
<Protobuf Include="**/*.proto" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -48,4 +48,9 @@ namespace SuperMachoBot.Tools
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class FunDatabase
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue