mirror of
https://github.com/Brazmann/SuperMachoBot.git
synced 2024-12-22 21:26:41 +00:00
Experiments and config added to gitignore
This commit is contained in:
parent
5da3b3de02
commit
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/
|
|
@ -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")]
|
||||||
|
|
|
@ -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