diff --git a/DibariBot/Core/Database/DbService.cs b/DibariBot/Core/Database/DbService.cs
index d6bf41c..541df3f 100644
--- a/DibariBot/Core/Database/DbService.cs
+++ b/DibariBot/Core/Database/DbService.cs
@@ -1,6 +1,5 @@
using BotBase;
using BotBase.Database;
-using SQLitePCL;
namespace DibariBot.Database
{
diff --git a/tempdnet/Discord.Net.Commands.deps.json b/tempdnet/Discord.Net.Commands.deps.json
deleted file mode 100644
index 5d4f5e1..0000000
--- a/tempdnet/Discord.Net.Commands.deps.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "runtimeTarget": {
- "name": ".NETCoreApp,Version=v6.0",
- "signature": ""
- },
- "compilationOptions": {},
- "targets": {
- ".NETCoreApp,Version=v6.0": {
- "Discord.Net.Commands/3.12.0-dev": {
- "dependencies": {
- "Discord.Net.Core": "3.12.0-dev"
- },
- "runtime": {
- "Discord.Net.Commands.dll": {}
- }
- },
- "Newtonsoft.Json/13.0.2": {
- "runtime": {
- "lib/net6.0/Newtonsoft.Json.dll": {
- "assemblyVersion": "13.0.0.0",
- "fileVersion": "13.0.2.27524"
- }
- }
- },
- "System.Collections.Immutable/5.0.0": {},
- "System.Interactive.Async/5.0.0": {
- "dependencies": {
- "System.Linq.Async": "5.0.0"
- },
- "runtime": {
- "lib/netcoreapp3.1/System.Interactive.Async.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.0.1"
- }
- }
- },
- "System.Linq.Async/5.0.0": {
- "runtime": {
- "lib/netcoreapp3.1/System.Linq.Async.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.0.1"
- }
- }
- },
- "System.ValueTuple/4.5.0": {},
- "Discord.Net.Core/3.12.0-dev": {
- "dependencies": {
- "Newtonsoft.Json": "13.0.2",
- "System.Collections.Immutable": "5.0.0",
- "System.Interactive.Async": "5.0.0",
- "System.ValueTuple": "4.5.0"
- },
- "runtime": {
- "Discord.Net.Core.dll": {}
- }
- }
- }
- },
- "libraries": {
- "Discord.Net.Commands/3.12.0-dev": {
- "type": "project",
- "serviceable": false,
- "sha512": ""
- },
- "Newtonsoft.Json/13.0.2": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==",
- "path": "newtonsoft.json/13.0.2",
- "hashPath": "newtonsoft.json.13.0.2.nupkg.sha512"
- },
- "System.Collections.Immutable/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==",
- "path": "system.collections.immutable/5.0.0",
- "hashPath": "system.collections.immutable.5.0.0.nupkg.sha512"
- },
- "System.Interactive.Async/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-QaqhQVDiULcu4vm6o89+iP329HcK44cETHOYgy/jfEjtzeFy0ZxmuM7nel9ocjnKxEM4yh1mli7hgh8Q9o+/Iw==",
- "path": "system.interactive.async/5.0.0",
- "hashPath": "system.interactive.async.5.0.0.nupkg.sha512"
- },
- "System.Linq.Async/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-cPtIuuH8TIjVHSi2ewwReWGW1PfChPE0LxPIDlfwVcLuTM9GANFTXiMB7k3aC4sk3f0cQU25LNKzx+jZMxijqw==",
- "path": "system.linq.async/5.0.0",
- "hashPath": "system.linq.async.5.0.0.nupkg.sha512"
- },
- "System.ValueTuple/4.5.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
- "path": "system.valuetuple/4.5.0",
- "hashPath": "system.valuetuple.4.5.0.nupkg.sha512"
- },
- "Discord.Net.Core/3.12.0-dev": {
- "type": "project",
- "serviceable": false,
- "sha512": ""
- }
- }
-}
\ No newline at end of file
diff --git a/tempdnet/Discord.Net.Commands.dll b/tempdnet/Discord.Net.Commands.dll
deleted file mode 100644
index 3638f5a..0000000
Binary files a/tempdnet/Discord.Net.Commands.dll and /dev/null differ
diff --git a/tempdnet/Discord.Net.Commands.xml b/tempdnet/Discord.Net.Commands.xml
deleted file mode 100644
index 0b3fbe0..0000000
--- a/tempdnet/Discord.Net.Commands.xml
+++ /dev/null
@@ -1,1601 +0,0 @@
-
-
-
- Discord.Net.Commands
-
-
-
-
- Marks the aliases for a command.
-
-
- This attribute allows a command to have one or multiple aliases. In other words, the base command can have
- multiple aliases when triggering the command itself, giving the end-user more freedom of choices when giving
- hot-words to trigger the desired command. See the example for a better illustration.
-
-
- In the following example, the command can be triggered with the base name, "stats", or either "stat" or
- "info".
-
- [Command("stats")]
- [Alias("stat", "info")]
- public Task GetStatsAsync(IUser user)
- {
- // ...pull stats
- }
-
-
-
-
-
- Gets the aliases which have been defined for the command.
-
-
-
-
- Creates a new with the given aliases.
-
-
-
-
- Marks the execution information for a command.
-
-
-
-
- Gets the text that has been set to be recognized as a command.
-
-
-
-
- Specifies the of the command. This affects how the command is executed.
-
-
-
-
-
-
-
- Initializes a new attribute with the specified name.
-
- The name of the command.
-
-
-
- Prevents the marked module from being loaded automatically.
-
-
- This attribute tells to ignore the marked module from being loaded
- automatically (e.g. the method). If a non-public module marked
- with this attribute is attempted to be loaded manually, the loading process will also fail.
-
-
-
-
- Prevents the marked property from being injected into a module.
-
-
- This attribute prevents the marked member from being injected into its parent module. Useful when you have a
- public property that you do not wish to invoke the library's dependency injection service.
-
-
- In the following example, DatabaseService will not be automatically injected into the module and will
- not throw an error message if the dependency fails to be resolved.
-
- public class MyModule : ModuleBase
- {
- [DontInject]
- public DatabaseService DatabaseService;
- public MyModule()
- {
- DatabaseService = DatabaseFactory.Generate();
- }
- }
-
-
-
-
-
- Marks the module as a command group.
-
-
-
-
- Gets the prefix set for the module.
-
-
-
-
-
-
-
- Initializes a new with the provided prefix.
-
- The prefix of the module group.
-
-
-
- Marks the public name of a command, module, or parameter.
-
-
-
-
- Gets the name of the command.
-
-
-
-
- Marks the public name of a command, module, or parameter with the provided name.
-
- The public name of the object.
-
-
-
- Instructs the command system to treat command parameters of this type
- as a collection of named arguments matching to its properties.
-
-
-
-
- Marks the to be read by the specified .
-
-
- This attribute will override the to be used when parsing for the
- desired type in the command. This is useful when one wishes to use a particular
- without affecting other commands that are using the same target
- type.
-
- If the given type reader does not inherit from , an
- will be thrown.
-
-
-
- In this example, the will be read by a custom
- , FriendlyTimeSpanTypeReader, instead of the
- shipped by Discord.Net.
-
- [Command("time")]
- public Task GetTimeAsync([OverrideTypeReader(typeof(FriendlyTimeSpanTypeReader))]TimeSpan time)
- => ReplyAsync(time);
-
-
-
-
-
- Gets the specified of the parameter.
-
-
-
-
- The to be used with the parameter.
- The given does not inherit from .
-
-
-
- Requires the parameter to pass the specified precondition before execution can begin.
-
-
-
-
-
- Checks whether the condition is met before execution of the command.
-
- The context of the command.
- The parameter of the command being checked against.
- The raw value of the parameter.
- The service collection used for dependency injection.
-
-
-
- Requires the module or class to pass the specified precondition before execution can begin.
-
-
-
-
-
- Specifies a group that this precondition belongs to.
-
-
- of the same group require only one of the preconditions to pass in order to
- be successful (A || B). Specifying = or not at all will
- require *all* preconditions to pass, just like normal (A && B).
-
-
-
-
- When overridden in a derived class, uses the supplied string
- as the error message if the precondition doesn't pass.
- Setting this for a class that doesn't override
- this property is a no-op.
-
-
-
-
- Checks if the has the sufficient permission to be executed.
-
- The context of the command.
- The command being executed.
- The service collection used for dependency injection.
-
-
-
- Requires the bot to have a specific permission in the channel a command is invoked in.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
-
-
-
- Gets or sets the error message if the precondition
- fails due to being run outside of a Guild channel.
-
-
-
-
- Requires the bot account to have a specific .
-
-
- This precondition will always fail if the command is being invoked in a .
-
-
- The that the bot must have. Multiple permissions can be specified
- by ORing the permissions together.
-
-
-
-
- Requires that the bot account to have a specific .
-
-
- The that the bot must have. Multiple permissions can be
- specified by ORing the permissions together.
-
-
-
-
-
-
-
- Defines the type of command context (i.e. where the command is being executed).
-
-
-
-
- Specifies the command to be executed within a guild.
-
-
-
-
- Specifies the command to be executed within a DM.
-
-
-
-
- Specifies the command to be executed within a group.
-
-
-
-
- Requires the command to be invoked in a specified context (e.g. in guild, DM).
-
-
-
-
- Gets the context required to execute the command.
-
-
-
-
-
-
- Requires the command to be invoked in the specified context.
- The type of context the command can be invoked in. Multiple contexts can be specified by ORing the contexts together.
-
-
- [Command("secret")]
- [RequireContext(ContextType.DM | ContextType.Group)]
- public Task PrivateOnlyAsync()
- {
- return ReplyAsync("shh, this command is a secret");
- }
-
-
-
-
-
-
-
-
- Requires the command to be invoked in a channel marked NSFW.
-
-
- The precondition will restrict the access of the command or module to be accessed within a guild channel
- that has been marked as mature or NSFW. If the channel is not of type or the
- channel is not marked as NSFW, the precondition will fail with an erroneous .
-
-
- The following example restricts the command too-cool to an NSFW-enabled channel only.
-
- public class DankModule : ModuleBase
- {
- [Command("cool")]
- public Task CoolAsync()
- => ReplyAsync("I'm cool for everyone.");
-
- [RequireNsfw]
- [Command("too-cool")]
- public Task TooCoolAsync()
- => ReplyAsync("You can only see this if you're cool enough.");
- }
-
-
-
-
-
-
-
-
-
-
-
- Requires the command to be invoked by the owner of the bot.
-
-
- This precondition will restrict the access of the command or module to the owner of the Discord application.
- If the precondition fails to be met, an erroneous will be returned with the
- message "Command can only be run by the owner of the bot."
-
- This precondition will only work if the account has a of
- ;otherwise, this precondition will always fail.
-
-
-
- The following example restricts the command to a set of sensitive commands that only the owner of the bot
- application should be able to access.
-
- [RequireOwner]
- [Group("admin")]
- public class AdminModule : ModuleBase
- {
- [Command("exit")]
- public async Task ExitAsync()
- {
- Environment.Exit(0);
- }
- }
-
-
-
-
-
-
-
-
-
-
-
- Requires the user invoking the command to have a specified permission.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
-
-
-
- Gets or sets the error message if the precondition
- fails due to being run outside of a Guild channel.
-
-
-
-
- Requires that the user invoking the command to have a specific .
-
-
- This precondition will always fail if the command is being invoked in a .
-
-
- The that the user must have. Multiple permissions can be
- specified by ORing the permissions together.
-
-
-
-
- Requires that the user invoking the command to have a specific .
-
-
- The that the user must have. Multiple permissions can be
- specified by ORing the permissions together.
-
-
-
-
-
-
-
- Sets priority of commands.
-
-
-
-
- Gets the priority which has been set for the command.
-
-
-
-
- Initializes a new attribute with the given priority.
-
-
-
-
- Marks the input to not be parsed by the parser.
-
-
-
-
- Attaches remarks to your commands.
-
-
-
-
- Attaches a summary to your command.
-
-
-
- Only the last parameter in a command may have the Remainder or Multiple flag.
-
-
- The context of a command which may contain the client, user, guild, channel, and message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Indicates whether the channel that the command is executed in is a private channel.
-
-
-
- Initializes a new class with the provided client and message.
-
- The underlying client.
- The underlying message.
-
-
- Defines the type of error a command can throw.
-
-
-
- Thrown when the command is unknown.
-
-
-
-
- Thrown when the command fails to be parsed.
-
-
-
-
- Thrown when the input text has too few or too many arguments.
-
-
-
-
- Thrown when the object cannot be found by the .
-
-
-
-
- Thrown when more than one object is matched by .
-
-
-
-
- Thrown when the command fails to meet a 's conditions.
-
-
-
-
- Thrown when an exception occurs mid-command execution.
-
-
-
-
- Thrown when the command is not successfully executed on runtime.
-
-
-
-
- The exception that is thrown if another exception occurs during a command execution.
-
-
-
- Gets the command that caused the exception.
-
-
- Gets the command context of the exception.
-
-
-
- Initializes a new instance of the class using a
- information, a context, and the exception that
- interrupted the execution.
-
- The command information.
- The context of the command.
- The exception that interrupted the command execution.
-
-
- The command that matches the search result.
-
-
- The alias of the command.
-
-
-
- Provides a framework for building Discord commands.
-
-
-
- The service provides a framework for building Discord commands both dynamically via runtime builders or
- statically via compile-time modules. To create a command module at compile-time, see
- (most common); otherwise, see .
-
-
- This service also provides several events for monitoring command usages; such as
- for any command-related log events, and
- for information about commands that have
- been successfully executed.
-
-
-
-
-
- Occurs when a command-related information is received.
-
-
-
-
- Occurs when a command is executed.
-
-
- This event is fired when a command has been executed, successfully or not. When a command fails to
- execute during parsing or precondition stage, the CommandInfo may not be returned.
-
-
-
-
- Represents all modules loaded within .
-
-
-
-
- Represents all commands loaded within .
-
-
-
-
- Represents all loaded within .
-
-
-
-
- Initializes a new class.
-
-
-
-
- Initializes a new class with the provided configuration.
-
- The configuration class.
-
- The cannot be set to .
-
-
-
-
- Add a command module from a .
-
-
- The following example registers the module MyModule to commandService.
-
- await commandService.AddModuleAsync<MyModule>(serviceProvider);
-
-
- The type of module.
- The for your dependency injection solution if using one; otherwise, pass .
- This module has already been added.
-
- The fails to be built; an invalid type may have been provided.
-
-
- A task that represents the asynchronous operation for adding the module. The task result contains the
- built module.
-
-
-
-
- Adds a command module from a .
-
- The type of module.
- The for your dependency injection solution if using one; otherwise, pass .
- This module has already been added.
-
- The fails to be built; an invalid type may have been provided.
-
-
- A task that represents the asynchronous operation for adding the module. The task result contains the
- built module.
-
-
-
-
- Add command modules from an .
-
- The containing command modules.
- The for your dependency injection solution if using one; otherwise, pass .
-
- A task that represents the asynchronous operation for adding the command modules. The task result
- contains an enumerable collection of modules added.
-
-
-
-
- Removes the command module.
-
- The to be removed from the service.
-
- A task that represents the asynchronous removal operation. The task result contains a value that
- indicates whether the is successfully removed.
-
-
-
-
- Removes the command module.
-
- The of the module.
-
- A task that represents the asynchronous removal operation. The task result contains a value that
- indicates whether the module is successfully removed.
-
-
-
-
- Removes the command module.
-
- The of the module.
-
- A task that represents the asynchronous removal operation. The task result contains a value that
- indicates whether the module is successfully removed.
-
-
-
-
- Adds a custom to this for the supplied object
- type.
- If is a , a nullable will
- also be added.
- If a default exists for , a warning will be logged
- and the default will be replaced.
-
- The object type to be read by the .
- An instance of the to be added.
-
-
-
- Adds a custom to this for the supplied object
- type.
- If is a , a nullable for the
- value type will also be added.
- If a default exists for , a warning will be logged and
- the default will be replaced.
-
- A instance for the type to be read.
- An instance of the to be added.
-
-
-
- Adds a custom to this for the supplied object
- type.
- If is a , a nullable will
- also be added.
-
- The object type to be read by the .
- An instance of the to be added.
-
- Defines whether the should replace the default one for
- if it exists.
-
-
-
-
- Adds a custom to this for the supplied object
- type.
- If is a , a nullable for the
- value type will also be added.
-
- A instance for the type to be read.
- An instance of the to be added.
-
- Defines whether the should replace the default one for if
- it exists.
-
-
-
-
- Removes a type reader from the list of type readers.
-
-
- Removing a from the will not dereference the from the loaded module/command instances.
- You need to reload the modules for the changes to take effect.
-
- The type to remove the readers from.
- if the default readers for should be removed; otherwise .
- The removed collection of type readers.
- if the remove operation was successful; otherwise .
-
-
-
- Searches for the command.
-
- The context of the command.
- The position of which the command starts at.
- The result containing the matching commands.
-
-
-
- Searches for the command.
-
- The context of the command.
- The command string.
- The result containing the matching commands.
-
-
-
- Executes the command.
-
- The context of the command.
- The position of which the command starts at.
- The service to be used in the command's dependency injection.
- The handling mode when multiple command matches are found.
-
- A task that represents the asynchronous execution operation. The task result contains the result of the
- command execution.
-
-
-
-
- Executes the command.
-
- The context of the command.
- The command string.
- The service to be used in the command's dependency injection.
- The handling mode when multiple command matches are found.
-
- A task that represents the asynchronous execution operation. The task result contains the result of the
- command execution.
-
-
-
-
- Validates and gets the best from a specified
-
- The SearchResult.
- The context of the command.
- The service provider to be used on the command's dependency injection.
- The handling mode when multiple command matches are found.
- A task that represents the asynchronous validation operation. The task result contains the result of the
- command validation as a or a if no matches were found.
-
-
-
- Represents a configuration class for .
-
-
-
-
- Gets or sets the default commands should have, if one is not specified on the
- Command attribute or builder.
-
-
-
-
- Gets or sets the that separates an argument with another.
-
-
-
-
- Gets or sets whether commands should be case-sensitive.
-
-
-
-
- Gets or sets the minimum log level severity that will be sent to the event.
-
-
-
-
- Gets or sets whether commands should push exceptions up to the caller.
-
-
-
-
- Collection of aliases for matching pairs of string delimiters.
- The dictionary stores the opening delimiter as a key, and the matching closing delimiter as the value.
- If no value is supplied will be used, which contains
- many regional equivalents.
- Only values that are specified in this map will be used as string delimiters, so if " is removed then
- it won't be used.
- If this map is set to null or empty, the default delimiter of " will be used.
-
-
-
- QuotationMarkAliasMap = new Dictionary<char, char>()
- {
- {'\"', '\"' },
- {'“', '”' },
- {'「', '」' },
- }
-
-
-
-
-
- Gets or sets a value that indicates whether extra parameters should be ignored.
-
-
-
-
- Provides extension methods for the class.
-
-
-
-
- Returns commands that can be executed under the current context.
-
- The set of commands to be checked against.
- The current command context.
- The service provider used for dependency injection upon precondition check.
-
- A read-only collection of commands that can be executed under the current context.
-
-
-
-
- Returns commands that can be executed under the current context.
-
- The desired command service class to check against.
- The current command context.
- The service provider used for dependency injection upon precondition check.
-
- A read-only collection of commands that can be executed under the current context.
-
-
-
-
- Returns commands that can be executed under the current context.
-
- The module to be checked against.
- The current command context.
- The service provider used for dependency injection upon precondition check.
-
- A read-only collection of commands that can be executed under the current context.
-
-
-
-
- Provides extension methods for that relates to commands.
-
-
-
-
- Gets whether the message starts with the provided character.
-
- The message to check against.
- The char prefix.
- References where the command starts.
-
- if the message begins with the char ; otherwise .
-
-
-
-
- Gets whether the message starts with the provided string.
-
-
-
-
- Gets whether the message starts with the user's mention string.
-
-
-
-
- Represents a generic module base.
-
-
-
-
- Sets the context of this module base.
-
- The context to set.
-
-
-
- Executed asynchronously before a command is run in this module base.
-
- The command that's about to run.
-
-
-
- Executed before a command is run in this module base.
-
- The command that's about to run.
-
-
-
- Executed asynchronously after a command is run in this module base.
-
- The command that's about to run.
-
-
-
- Executed after a command is ran in this module base.
-
- The command that ran.
-
-
-
- Executed when this module is building.
-
- The command service that is building this module.
- The builder constructing this module.
-
-
-
- Provides the information of a command.
-
-
- This object contains the information of a command. This can include the module of the command, various
- descriptions regarding the command, and its .
-
-
-
-
- Gets the module that the command belongs in.
-
-
-
-
- Gets the name of the command. If none is set, the first alias is used.
-
-
-
-
- Gets the summary of the command.
-
-
- This field returns the summary of the command. and can be
- useful in help commands and various implementation that fetches details of the command for the user.
-
-
-
-
- Gets the remarks of the command.
-
-
- This field returns the summary of the command. and can be
- useful in help commands and various implementation that fetches details of the command for the user.
-
-
-
-
- Gets the priority of the command. This is used when there are multiple overloads of the command.
-
-
-
-
- Indicates whether the command accepts a [] for its
- parameter.
-
-
-
-
- Indicates whether extra arguments should be ignored for this command.
-
-
-
-
- Gets the that is being used for the command.
-
-
-
-
- Gets a list of aliases defined by the of the command.
-
-
-
-
- Gets a list of information about the parameters of the command.
-
-
-
-
- Gets a list of preconditions defined by the of the command.
-
-
-
-
- Gets a list of attributes of the command.
-
-
-
-
- Provides the information of a module.
-
-
-
-
- Gets the command service associated with this module.
-
-
-
-
- Gets the name of this module.
-
-
-
-
- Gets the summary of this module.
-
-
-
-
- Gets the remarks of this module.
-
-
-
-
- Gets the group name (main prefix) of this module.
-
-
-
-
- Gets a read-only list of aliases associated with this module.
-
-
-
-
- Gets a read-only list of commands associated with this module.
-
-
-
-
- Gets a read-only list of preconditions that apply to this module.
-
-
-
-
- Gets a read-only list of attributes that apply to this module.
-
-
-
-
- Gets a read-only list of submodules associated with this module.
-
-
-
-
- Gets the parent module of this submodule if applicable.
-
-
-
-
- Gets a value that indicates whether this module is a submodule or not.
-
-
-
-
- Provides the information of a parameter.
-
-
-
-
- Gets the command that associates with this parameter.
-
-
-
-
- Gets the name of this parameter.
-
-
-
-
- Gets the summary of this parameter.
-
-
-
-
- Gets a value that indicates whether this parameter is optional or not.
-
-
-
-
- Gets a value that indicates whether this parameter is a remainder parameter or not.
-
-
-
-
- Gets the type of the parameter.
-
-
-
-
- Gets the default value for this optional parameter if applicable.
-
-
-
-
- Gets a read-only list of precondition that apply to this parameter.
-
-
-
-
- Gets a read-only list of attributes that apply to this parameter.
-
-
-
- Cannot add commands to the root node.
-
-
-
- Provides a base class for a command module to inherit from.
-
-
-
-
- Provides a base class for a command module to inherit from.
-
- A class that implements .
-
-
-
- The underlying context of the command.
-
-
-
-
-
-
- Sends a message to the source channel.
-
-
- Contents of the message; optional only if is specified.
-
- Specifies if Discord should read this aloud using text-to-speech.
- An embed to be displayed alongside the .
-
- Specifies if notifications are sent for mentioned users and roles in the .
- If , all mentioned roles and users will be notified.
-
- The request options for this request.
- The message references to be included. Used to reply to specific messages.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- Message flags combined as a bitfield.
-
-
-
- The method to execute asynchronously before executing the command.
-
- The of the command to be executed.
-
-
-
- The method to execute before executing the command.
-
- The of the command to be executed.
-
-
-
- The method to execute asynchronously after executing the command.
-
- The of the command to be executed.
-
-
-
- The method to execute after executing the command.
-
- The of the command to be executed.
-
-
-
- The method to execute when building the module.
-
- The used to create the module.
- The builder used to build the module.
-
-
-
- Specifies the behavior when multiple matches are found during the command parsing stage.
-
-
-
- Indicates that when multiple results are found, an exception should be thrown.
-
-
- Indicates that when multiple results are found, the best result should be chosen.
-
-
-
- A for parsing objects implementing .
-
-
- This is shipped with Discord.Net and is used by default to parse any
- implemented object within a command. The TypeReader will attempt to first parse the
- input by mention, then the snowflake identifier, then by name; the highest candidate will be chosen as the
- final output; otherwise, an erroneous is returned.
-
- The type to be checked; must implement .
-
-
-
-
-
-
-
-
-
- A for parsing objects implementing .
-
- The type to be checked; must implement .
-
-
-
-
-
-
-
-
- must be within the range [0, 1].
-
-
- must be within the range [0, 1].
-
-
-
- A for parsing objects implementing .
-
- The type to be checked; must implement .
-
-
-
-
-
-
- TimeSpan try parse formats.
-
-
-
-
-
-
-
- Defines a reader class that parses user input into a specified type.
-
-
-
-
- Attempts to parse the into the desired type.
-
- The context of the command.
- The raw input of the command.
- The service collection used for dependency injection.
-
- A task that represents the asynchronous parsing operation. The task result contains the parsing result.
-
-
-
-
- A for parsing objects implementing .
-
- The type to be checked; must implement .
-
-
-
-
-
-
- Contains information of the command's overall execution result.
-
-
-
-
- Gets the exception that may have occurred during the command execution.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new with no error, indicating a successful execution.
-
-
- A that does not contain any errors.
-
-
-
-
- Initializes a new with a specified and its
- reason, indicating an unsuccessful execution.
-
- The type of error.
- The reason behind the error.
-
- A that contains a and reason.
-
-
-
-
- Initializes a new with a specified exception, indicating an unsuccessful
- execution.
-
- The exception that caused the command execution to fail.
-
- A that contains the exception that caused the unsuccessful execution, along
- with a of type Exception as well as the exception message as the
- reason.
-
-
-
-
- Initializes a new with a specified result; this may or may not be an
- successful execution depending on the and
- specified.
-
- The result to inherit from.
-
- A that inherits the error type and reason.
-
-
-
-
- Gets a string that indicates the execution result.
-
-
- Success if is ; otherwise ":
- ".
-
-
-
-
- Contains information of the result related to a command.
-
-
-
-
- Describes the error type that may have occurred during the operation.
-
-
- A indicating the type of error that may have occurred during the operation;
- if the operation was successful.
-
-
-
-
- Describes the reason for the error.
-
-
- A string containing the error reason.
-
-
-
-
- Indicates whether the operation was successful or not.
-
-
- if the result is positive; otherwise .
-
-
-
-
- Gets the command that may have matched during the command execution.
-
-
-
-
- Gets on which pipeline stage the command may have matched or failed.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Contains information for the parsing result from the command service's parser.
-
-
-
-
-
-
-
-
-
-
- Provides information about the parameter that caused the parsing error.
-
-
- A indicating the parameter info of the error that may have occurred during parsing;
- if the parsing was successful or the parsing error is not specific to a single parameter.
-
-
-
-
-
-
-
- Represents a result type for command preconditions.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new class with the command type
- and reason.
-
- The type of failure.
- The reason of failure.
-
-
-
- Returns a with no errors.
-
-
-
-
- Returns a with and the
- specified reason.
-
- The reason of failure.
-
-
-
- Returns a with the specified type.
-
- The result of failure.
-
-
-
- Returns a string indicating whether the is successful.
-
-
-
-
- Initializes a new class with the type of error and reason.
-
- The type of failure, or if none.
- The reason of failure.
-
-
-
-
-
- Describes the execution reason or result.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- TypeReaderResult was not successful.
-
-
-
- Specifies the behavior of the command execution workflow.
-
-
-
-
-
-
- The default behavior set in .
-
-
-
-
- Executes the command on the same thread as gateway one.
-
-
-
-
- Executes the command on a different thread from the gateway one.
-
-
-
-
- Utility class which contains the default matching pairs of quotation marks for CommandServiceConfig
-
-
-
-
- A default map of open-close pairs of quotation marks.
- Contains many regional and Unicode equivalents.
- Used in the .
-
-
-
-
-
diff --git a/tempdnet/Discord.Net.Core.dll b/tempdnet/Discord.Net.Core.dll
deleted file mode 100644
index 3baa583..0000000
Binary files a/tempdnet/Discord.Net.Core.dll and /dev/null differ
diff --git a/tempdnet/Discord.Net.Core.xml b/tempdnet/Discord.Net.Core.xml
deleted file mode 100644
index 377501d..0000000
--- a/tempdnet/Discord.Net.Core.xml
+++ /dev/null
@@ -1,19169 +0,0 @@
-
-
-
- Discord.Net.Core
-
-
-
-
- Reading this stream is not supported.
-
-
-
- Setting the length to this stream is not supported.
-
-
-
- Seeking this stream is not supported..
-
-
- This stream does not accept headers.
-
-
-
- Reading stream length is not supported.
-
-
-
- Getting or setting this stream position is not supported.
-
-
-
- Reading this stream is not supported.
-
-
-
- Setting the length to this stream is not supported.
-
-
-
- Seeking this stream is not supported..
-
-
- Gets the current connection state of this client.
-
-
- Gets the estimated round-trip latency, in milliseconds, to the voice WebSocket server.
-
-
- Gets the estimated round-trip latency, in milliseconds, to the voice UDP server.
-
-
- Gets the current audio streams.
-
-
- Creates a new outgoing stream accepting Opus-encoded data.
-
-
- Creates a new outgoing stream accepting Opus-encoded data. This is a direct stream with no internal timer.
-
-
- Creates a new outgoing stream accepting PCM (raw) data.
-
-
- Creates a new direct outgoing stream accepting PCM (raw) data. This is a direct stream with no internal timer.
-
-
-
- Represents a class containing the strings related to various Content Delivery Networks (CDNs).
-
-
-
-
- Returns a team icon URL.
-
- The team identifier.
- The icon identifier.
-
- A URL pointing to the team's icon.
-
-
-
-
- Returns an application icon URL.
-
- The application identifier.
- The icon identifier.
-
- A URL pointing to the application's icon.
-
-
-
-
- Returns a user avatar URL.
-
- The user snowflake identifier.
- The avatar identifier.
- The size of the image to return in horizontal pixels. This can be any power of two between 16 and 2048.
- The format to return.
-
- A URL pointing to the user's avatar in the specified size.
-
-
-
-
- Returns a user banner URL.
-
- The user snowflake identifier.
- The banner identifier.
- The size of the image to return in horizontal pixels. This can be any power of two between 16 and 2048.
- The format to return.
-
- A URL pointing to the user's banner in the specified size.
-
-
-
-
- Returns the default user avatar URL.
-
- The discriminator value of a user.
-
- A URL pointing to the user's default avatar when one isn't set.
-
-
-
-
- Returns the default user avatar URL.
-
- The Id of a user.
-
- A URL pointing to the user's default avatar when one isn't set.
-
-
-
-
- Returns an icon URL.
-
- The guild snowflake identifier.
- The icon identifier.
-
- A URL pointing to the guild's icon.
-
-
-
-
- Returns a guild role's icon URL.
-
- The role identifier.
- The icon hash.
-
- A URL pointing to the guild role's icon.
-
-
-
-
- Returns a guild splash URL.
-
- The guild snowflake identifier.
- The splash icon identifier.
-
- A URL pointing to the guild's splash.
-
-
-
-
- Returns a guild discovery splash URL.
-
- The guild snowflake identifier.
- The discovery splash icon identifier.
-
- A URL pointing to the guild's discovery splash.
-
-
-
-
- Returns a channel icon URL.
-
- The channel snowflake identifier.
- The icon identifier.
-
- A URL pointing to the channel's icon.
-
-
-
-
- Returns a guild banner URL.
-
- The guild snowflake identifier.
- The banner image identifier.
- The format to return.
- The size of the image to return in horizontal pixels. This can be any power of two between 16 and 2048 inclusive.
-
- A URL pointing to the guild's banner image.
-
-
-
-
- Returns an emoji URL.
-
- The emoji snowflake identifier.
- Whether this emoji is animated.
-
- A URL pointing to the custom emote.
-
-
-
-
- Returns a Rich Presence asset URL.
-
- The application identifier.
- The asset identifier.
- The size of the image to return in. This can be any power of two between 16 and 2048.
- The format to return.
-
- A URL pointing to the asset image in the specified size.
-
-
-
-
- Returns a Spotify album URL.
-
- The identifier for the album art (e.g. 6be8f4c8614ecf4f1dd3ebba8d8692d8ce4951ac).
-
- A URL pointing to the Spotify album art.
-
-
-
-
- Returns a Spotify direct URL for a track.
-
- The identifier for the track (e.g. 4uLU6hMCjMI75M1A2tKUQC).
-
- A URL pointing to the Spotify track.
-
-
-
-
- Gets a stickers url based off the id and format.
-
- The id of the sticker.
- The format of the sticker.
-
- A URL to the sticker.
-
-
-
-
- Returns an events cover image url.
-
- The guild id that the event is in.
- The id of the event.
- The id of the cover image asset.
- The format of the image.
- The size of the image.
-
-
-
-
- Represents a context of a command. This may include the client, guild, channel, user, and message.
-
-
-
-
- Gets the that the command is executed with.
-
-
-
-
- Gets the that the command is executed in.
-
-
-
-
- Gets the that the command is executed in.
-
-
-
-
- Gets the who executed the command.
-
-
-
-
- Gets the that the command is interpreted from.
-
-
-
- Specifies the connection state of a client.
-
-
- The client has disconnected from Discord.
-
-
- The client is connecting to Discord.
-
-
- The client has established a connection to Discord.
-
-
- The client is disconnecting from Discord.
-
-
-
- Defines various behaviors of Discord.Net.
-
-
-
-
- Returns the API version Discord.Net uses.
-
-
- An representing the API version that Discord.Net uses to communicate with Discord.
- A list of available API version can be seen on the official
- Discord API documentation
- .
-
-
-
-
- Returns the Voice API version Discord.Net uses.
-
-
- An representing the API version that Discord.Net uses to communicate with Discord's
- voice server.
-
-
-
-
- Gets the Discord.Net version, including the build number.
-
-
- A string containing the detailed version information, including its build number; Unknown when
- the version fails to be fetched.
-
-
-
-
- Gets the user agent that Discord.Net uses in its clients.
-
-
- The user agent used in each Discord.Net request.
-
-
-
-
- Returns the base Discord API URL.
-
-
- The Discord API URL using .
-
-
-
-
- Returns the base Discord CDN URL.
-
-
- The base Discord Content Delivery Network (CDN) URL.
-
-
-
-
- Returns the base Discord invite URL.
-
-
- The base Discord invite URL.
-
-
-
-
- Returns the default timeout for requests.
-
-
- The amount of time it takes in milliseconds before a request is timed out.
-
-
-
-
- Returns the max length for a Discord message.
-
-
- The maximum length of a message allowed by Discord.
-
-
-
-
- Returns the max messages allowed to be in a request.
-
-
- The maximum number of messages that can be gotten per-batch.
-
-
-
-
- Returns the max users allowed to be in a request.
-
-
- The maximum number of users that can be gotten per-batch.
-
-
-
-
- Returns the max bans allowed to be in a request.
-
-
- The maximum number of bans that can be gotten per-batch.
-
-
-
-
- Returns the max users allowed to be in a request for guild event users.
-
-
- The maximum number of users that can be gotten per-batch.
-
-
-
-
- Returns the max guilds allowed to be in a request.
-
-
- The maximum number of guilds that can be gotten per-batch.
-
-
-
-
- Returns the max user reactions allowed to be in a request.
-
-
- The maximum number of user reactions that can be gotten per-batch.
-
-
-
-
- Returns the max audit log entries allowed to be in a request.
-
-
- The maximum number of audit log entries that can be gotten per-batch.
-
-
-
-
- Returns the max number of stickers that can be sent with a message.
-
-
-
-
- Returns the max number of embeds that can be sent with a message.
-
-
-
-
- Gets or sets how a request should act in the case of an error, by default.
-
-
- The currently set .
-
-
-
-
- Gets or sets the default callback for ratelimits.
-
-
- This property is mutually exclusive with .
-
-
-
-
- Gets or sets the minimum log level severity that will be sent to the Log event.
-
-
- The currently set for logging level.
-
-
-
-
- Gets or sets whether the initial log entry should be printed.
-
-
- If set to , the library will attempt to print the current version of the library, as well as
- the API version it uses on startup.
-
-
-
-
- Gets or sets whether or not rate-limits should use the system clock.
-
-
- If set to , we will use the X-RateLimit-Reset-After header
- to determine when a rate-limit expires, rather than comparing the
- X-RateLimit-Reset timestamp to the system time.
-
- This should only be changed to false if the system is known to have
- a clock that is out of sync. Relying on the Reset-After header will
- incur network lag.
-
- Regardless of this property, we still rely on the system's wall-clock
- to determine if a bucket is rate-limited; we do not use any monotonic
- clock. Your system will still need a stable clock.
-
-
-
-
- Gets or sets whether or not the internal expiration check uses the system date
- + snowflake date to check if an interaction can be responded to.
-
-
- If set to then the CreatedAt property in an interaction
- will be set to when it was received instead of the snowflakes date.
-
- This will still require a stable clock on your system.
-
-
-
-
- Gets or sets if the Rest/Socket user override formats the string in respect to bidirectional unicode.
-
-
- By default, the returned value will be "?Discord?#1234", to work with bidirectional usernames.
-
- If set to , this value will be "Discord#1234".
-
-
-
-
- Returns the max thread members allowed to be in a request.
-
-
- The maximum number of thread members that can be gotten per-batch.
-
-
-
-
- Returns the max length of an application tag.
-
-
-
-
- Returns the max length of an application description.
-
-
-
-
- Returns the max amount of tags applied to an application.
-
-
-
-
- Represents a set of json error codes received by discord.
-
-
-
-
- Represents a generic parsed json error received from discord after performing a rest request.
-
-
-
-
- Gets the json path of the error.
-
-
-
-
- Gets a collection of errors associated with the specific property at the path.
-
-
-
-
- Represents an error with a property.
-
-
-
-
- Gets the code of the error.
-
-
-
-
- Gets the message describing what went wrong.
-
-
-
-
- Flags for the property, that are ORd together.
- These describe what the activity payload includes.
-
-
-
-
- Indicates that no actions on this activity can be taken.
-
-
-
-
- Indicates that this activity can be joined.
-
-
-
-
- Indicates that this activity can be spectated.
-
-
-
-
- Indicates that a user may request to join an activity.
-
-
-
-
- Indicates that a user can listen along in Spotify.
-
-
-
-
- Indicates that a user can play this song.
-
-
-
-
- Indicates that a user is playing an activity in a voice channel with friends.
-
-
-
-
- Indicates that a user is playing an activity in a voice channel.
-
-
-
-
- Indicates that a user is playing an activity in a voice channel.
-
-
-
-
- Specifies a Discord user's activity type.
-
-
-
-
- The user is playing a game.
-
-
-
-
- The user is streaming online.
-
-
-
-
- The user is listening to a song.
-
-
-
-
- The user is watching some form of media.
-
-
-
-
- The user has set a custom status.
-
-
-
-
- The user is competing in a game.
-
-
-
-
- A user's activity for their custom status.
-
-
-
-
- Creates a new custom status activity.
-
-
- Bots can't set custom status emoji.
-
- The string displayed as bot's custom status.
-
-
-
- Gets the emote, if it is set.
-
-
- An containing the or set by the user.
-
-
-
-
- Gets the timestamp of when this status was created.
-
-
- A containing the time when this status was created.
-
-
-
-
- Gets the state of the status.
-
-
-
-
- Watch youtube together.
-
-
-
-
- Youtube development application.
-
-
-
-
- Poker!
-
-
-
-
- Betrayal: A Party Adventure. Betrayal is a social deduction game inspired by Werewolf, Town of Salem, and Among Us.
-
-
-
-
- Sit back, relax, and do some fishing!
-
-
-
-
- The queens gambit.
-
-
-
-
- Development version of chess.
-
-
-
-
- LetterTile is a version of scrabble.
-
-
-
-
- Find words in a jumble of letters in coffee.
-
-
-
-
- It's like skribbl.io.
-
-
-
-
- It's like cards against humanity.
-
-
-
-
- A word-search like game where you unscramble words and score points in a scrabble fashion.
-
-
-
-
- Classic checkers
-
-
-
-
- The development version of poker.
-
-
-
-
- SketchyArtist.
-
-
-
-
- A user's game status.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates a with the provided name and .
-
- The name of the game.
- The type of activity.
-
-
- Returns the name of the .
-
-
-
- An asset for a object containing the text and image.
-
-
-
-
- Gets the description of the asset.
-
-
- A string containing the description of the asset.
-
-
-
-
- Gets the image ID of the asset.
-
-
- A string containing the unique image identifier of the asset.
-
-
-
-
- Returns the image URL of the asset.
-
- The size of the image to return in. This can be any power of two between 16 and 2048.
- The format to return.
-
- A string pointing to the image URL of the asset; when the application ID does not exist.
-
-
-
-
- Party information for a object.
-
-
-
-
- Gets the ID of the party.
-
-
- A string containing the unique identifier of the party.
-
-
-
-
- Gets the party's current and maximum size.
-
-
- A representing the capacity of the party.
-
-
-
-
- Party secret for a object.
-
-
-
-
- Gets the secret for a specific instanced match.
-
-
-
-
- Gets the secret for joining a party.
-
-
-
-
- Gets the secret for spectating a game.
-
-
-
-
- Timestamps for a object.
-
-
-
-
- Gets when the activity started.
-
-
-
-
- Gets when the activity ends.
-
-
-
-
- A user's activity status, typically a .
-
-
-
-
- Gets the name of the activity.
-
-
- A string containing the name of the activity that the user is doing.
-
-
-
-
- Gets the type of the activity.
-
-
- The type of activity.
-
-
-
-
- Gets the flags that are relevant to this activity.
-
-
- This value is determined by bitwise OR-ing values together.
-
-
- The value of flags for this activity.
-
-
-
-
- Gets the details on what the player is currently doing.
-
-
- A string describing what the player is doing.
-
-
-
-
- A user's Rich Presence status.
-
-
-
-
- Gets the user's current party status.
-
-
-
-
- Gets the application ID for the game.
-
-
-
-
- Gets the small image for the presence and their hover texts.
-
-
-
-
- Gets the large image for the presence and their hover texts.
-
-
-
-
- Gets the information for the current party of the player.
-
-
-
-
- Gets the secrets for Rich Presence joining and spectating.
-
-
-
-
- Gets the timestamps for start and/or end of the game.
-
-
-
-
- Returns the name of the Rich Presence.
-
-
-
-
- A user's activity for listening to a song on Spotify.
-
-
-
-
- Gets the song's artist(s).
-
-
- A collection of string containing all artists featured in the track (e.g. Avicii; Rita Ora).
-
-
-
-
- Gets the Spotify album title of the song.
-
-
- A string containing the name of the album (e.g. AVĪCI (01)).
-
-
-
-
- Gets the track title of the song.
-
-
- A string containing the name of the song (e.g. Lonely Together (feat. Rita Ora)).
-
-
-
-
- Gets the date when the track started playing.
-
-
- A containing the start timestamp of the song.
-
-
-
-
- Gets the date when the track ends.
-
-
- A containing the finish timestamp of the song.
-
-
-
-
- Gets the duration of the song.
-
-
- A containing the duration of the song.
-
-
-
-
- Gets the elapsed duration of the song.
-
-
- A containing the elapsed duration of the song.
-
-
-
-
- Gets the remaining duration of the song.
-
-
- A containing the remaining duration of the song.
-
-
-
-
- Gets the track ID of the song.
-
-
- A string containing the Spotify ID of the track (e.g. 7DoN0sCGIT9IcLrtBDm4f0).
-
-
-
-
- Gets the session ID of the song.
-
-
- The purpose of this property is currently unknown.
-
-
- A string containing the session ID.
-
-
-
-
- Gets the URL of the album art.
-
-
- A URL pointing to the album art of the track (e.g.
- https://i.scdn.co/image/ba2fd8823d42802c2f8738db0b33a4597f2f39e7).
-
-
-
-
- Gets the direct Spotify URL of the track.
-
-
- A URL pointing directly to the track on Spotify. (e.g.
- https://open.spotify.com/track/7DoN0sCGIT9IcLrtBDm4f0).
-
-
-
-
- Gets the full information of the song.
-
-
- A string containing the full information of the song (e.g.
- Avicii, Rita Ora - Lonely Together (feat. Rita Ora) (3:08)
-
-
-
-
- A user's activity for streaming on services such as Twitch.
-
-
-
-
- Gets the URL of the stream.
-
-
-
-
- Creates a new based on the on the stream URL.
-
- The name of the stream.
- The URL of the stream.
-
-
-
- Gets the name of the stream.
-
-
-
-
- Represents the connection object that the user has attached.
-
-
-
-
- Gets the vanity name of the platform a bot has connected to.
-
-
-
-
- Gets the username on the platform a bot has connected to.
-
-
-
-
- Gets the object mapping keys to their string-ified values.
-
-
-
-
- Initializes a new with the data from this object.
-
-
-
-
- Represents the role connection metadata object.
-
-
-
-
- Gets the of metadata value.
-
-
-
-
- Gets the dictionary key for the metadata field.
-
-
-
-
- Gets the name of the metadata field.
-
-
-
-
- Gets the description of the metadata field.
-
-
-
-
- Gets translations of the name. if not set.
-
-
-
-
- Gets translations of the description. if not set.
-
-
-
-
- Initializes a new with the data from this object.
-
-
-
-
- Properties object used to create or modify object.
-
-
-
-
- Gets or sets the of metadata value.
-
-
-
-
- Gets or sets the dictionary key for the metadata field.
-
-
-
-
- Gets or sets the name of the metadata field.
-
-
-
-
- Gets or sets the description of the metadata field.
-
-
-
-
- Gets or sets translations of the name. if not set.
-
-
-
-
- Gets or sets translations of the description. if not set.
-
-
-
-
- Initializes a new instance of .
-
- The type of the metadata value.
- The dictionary key for the metadata field. Max 50 characters.
- The name of the metadata visible in user profile. Max 100 characters.
- The description of the metadata visible in user profile. Max 200 characters.
- Translations for the name.
- Translations for the description.
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new with the data from provided .
-
-
-
-
- Represents the type of Application Role Connection Metadata.
-
-
-
-
- The metadata's integer value is less than or equal to the guild's configured value.
-
-
-
-
- The metadata's integer value is greater than or equal to the guild's configured value.
-
-
-
-
- The metadata's integer value is equal to the guild's configured value.
-
-
-
-
- The metadata's integer value is not equal to the guild's configured value.
-
-
-
-
- The metadata's ISO8601 string value is less or equal to the guild's configured value.
-
-
-
-
- The metadata's ISO8601 string value is greater to the guild's configured value.
-
-
-
-
- The metadata's integer value is equal to the guild's configured value.
-
-
-
-
- The metadata's integer value is equal to the guild's configured value.
-
-
-
-
- Represents the properties used to modify user's .
-
-
-
-
- Gets or sets the vanity name of the platform a bot has connected. Max 50 characters.
-
-
-
-
- Gets or sets the username on the platform a bot has connected. Max 100 characters.
-
-
-
-
- Gets or sets object mapping keys to their string-ified values.
-
-
-
-
- Adds a metadata record with the provided key and value.
-
- The current .
-
-
-
- Adds a metadata record with the provided key and value.
-
- The current .
-
-
-
- Adds a metadata record with the provided key and value.
-
- The current .
-
-
-
- Adds a metadata record with the provided key and value.
-
- The current .
-
-
-
- Adds a metadata record with the provided key and value.
-
- The current .
-
-
-
- Adds a metadata record with the provided key and value.
-
- The current .
-
-
-
- Initializes a new instance of .
-
- The name of the platform a bot has connected.s
- Gets the username on the platform a bot has connected.
- Object mapping keys to their values.
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new with the data from provided .
-
-
-
-
- Represents public flags for an application.
-
-
-
-
- Indicates if an app uses the Auto Moderation API.
-
-
-
-
- Indicates that the app has been verified to use GUILD_PRESENCES intent.
-
-
-
-
- Indicates that the app has enabled the GUILD_PRESENCES intent on a bot in less than 100 servers.
-
-
-
-
- Indicates that the app has been verified to use GUILD_MEMBERS intent.
-
-
-
-
- Indicates that the app has enabled the GUILD_MEMBERS intent on a bot in less than 100 servers.
-
-
-
-
- Indicates unusual growth of an app that prevents verification.
-
-
-
-
- Indicates if an app is embedded within the Discord client.
-
-
-
-
- Indicates that the app has been verified to use MESSAGE_CONTENT intent.
-
-
-
-
- Indicates that the app has enabled the MESSAGE_CONTENT intent on a bot in less than 100 servers.
-
-
-
-
- Indicates if an app has registered global application commands.
-
-
-
-
- Indicates if an app is considered active.
-
-
-
-
- Represents install parameters for an application.
-
-
-
-
- Gets the scopes to install this application.
-
-
-
-
- Gets the default permissions to install this application.
-
-
-
-
- Represents a Discord application created via the developer portal.
-
-
-
-
- Gets the name of the application.
-
-
-
-
- Gets the description of the application.
-
-
-
-
- Gets the RPC origins of the application.
-
-
-
-
- Gets the application's public flags.
-
-
-
-
- Gets a collection of install parameters for this application; if disabled.
-
-
-
-
- Gets a collection of tags related to the application.
-
-
-
-
- Gets the icon URL of the application.
-
-
-
-
- Gets if the bot is public. if not set.
-
-
-
-
- Gets if the bot requires code grant. if not set.
-
-
-
-
- Gets the team associated with this application if there is one.
-
-
-
-
- Gets the partial user object containing info on the owner of the application.
-
-
-
-
- Gets the url of the app's terms of service.
-
-
-
-
- Gets the the url of the app's privacy policy.
-
-
-
-
- Gets application's default custom authorization url. if disabled.
-
-
-
-
- Gets the application's role connection verification entry point. if not set.
-
-
-
-
- Gets the hex encoded key for verification in interactions.
-
-
-
-
- Gets the partial guild object of the application's developer's support server. if not set.
-
-
-
-
- Gets the redirect uris configured for the application.
-
-
-
-
- Gets application's interactions endpoint url. if not set.
-
-
-
-
- Gets the approximate count of the guild the application was added to. if not returned.
-
-
-
-
- Represents properties used to modify current application's bot.
-
-
-
-
- Gets or sets the http interactions endpoint configured for the application.
-
-
-
-
- Gets or sets the role connections verification endpoint configured for the application.
-
-
-
-
- Gets or sets the description of the application.
-
-
-
-
- Gets or sets application's tags
-
-
-
-
- Gets or sets the icon of the application.
-
-
-
-
- Gets or sets the default rich presence invite cover image of the application.
-
-
-
-
- Gets or set the default custom authorization URL for the app, if enabled.
-
-
-
-
- Gets or sets settings for the app's default in-app authorization link, if enabled.
-
-
-
-
- Gets or sets app's public flags.
-
-
- Only , and
- flags can be updated.
-
-
-
-
- Representing a type of action within an .
-
-
-
-
- this guild was updated.
-
-
-
-
- A channel was created.
-
-
-
-
- A channel was updated.
-
-
-
-
- A channel was deleted.
-
-
-
-
- A permission overwrite was created for a channel.
-
-
-
-
- A permission overwrite was updated for a channel.
-
-
-
-
- A permission overwrite was deleted for a channel.
-
-
-
-
- A user was kicked from this guild.
-
-
-
-
- A prune took place in this guild.
-
-
-
-
- A user banned another user from this guild.
-
-
-
-
- A user unbanned another user from this guild.
-
-
-
-
- A guild member whose information was updated.
-
-
-
-
- A guild member's role collection was updated.
-
-
-
-
- A guild member moved to a voice channel.
-
-
-
-
- A guild member disconnected from a voice channel.
-
-
-
-
- A bot was added to this guild.
-
-
-
-
- A role was created in this guild.
-
-
-
-
- A role was updated in this guild.
-
-
-
-
- A role was deleted from this guild.
-
-
-
-
- An invite was created in this guild.
-
-
-
-
- An invite was updated in this guild.
-
-
-
-
- An invite was deleted from this guild.
-
-
-
-
- A Webhook was created in this guild.
-
-
-
-
- A Webhook was updated in this guild.
-
-
-
-
- A Webhook was deleted from this guild.
-
-
-
-
- An emoji was created in this guild.
-
-
-
-
- An emoji was updated in this guild.
-
-
-
-
- An emoji was deleted from this guild.
-
-
-
-
- A message was deleted from this guild.
-
-
-
-
- Multiple messages were deleted from this guild.
-
-
-
-
- A message was pinned from this guild.
-
-
-
-
- A message was unpinned from this guild.
-
-
-
-
- A integration was created
-
-
-
-
- A integration was updated
-
-
-
-
- An integration was deleted
-
-
-
-
- A stage instance was created.
-
-
-
-
- A stage instance was updated.
-
-
-
-
- A stage instance was deleted.
-
-
-
-
- A sticker was created.
-
-
-
-
- A sticker was updated.
-
-
-
-
- A sticker was deleted.
-
-
-
-
- A scheduled event was created.
-
-
-
-
- A scheduled event was created.
-
-
-
-
- A scheduled event was created.
-
-
-
-
- A thread was created.
-
-
-
-
- A thread was updated.
-
-
-
-
- A thread was deleted.
-
-
-
-
- Permissions were updated for a command.
-
-
-
-
- Auto Moderation rule was created.
-
-
-
-
- Auto Moderation rule was updated.
-
-
-
-
- Auto Moderation rule was deleted.
-
-
-
-
- Message was blocked by Auto Moderation.
-
-
-
-
- Message was flagged by Auto Moderation.
-
-
-
-
- Member was timed out by Auto Moderation.
-
-
-
-
- Guild Onboarding Question was created.
-
-
-
-
- Guild Onboarding Question was updated.
-
-
-
-
- Guild Onboarding was updated.
-
-
-
-
- Represents data applied to an .
-
-
-
-
- Represents a generic audit log entry.
-
-
-
-
- Gets the action which occurred to create this entry.
-
-
- The type of action for this audit log entry.
-
-
-
-
- Gets the data for this entry.
-
-
- An for this audit log entry; if no data is available.
-
-
-
-
- Gets the user responsible for causing the changes.
-
-
- A user object.
-
-
-
-
- Gets the reason behind the change.
-
-
- A string containing the reason for the change; if none is provided.
-
-
-
-
- Specifies the cache mode that should be used.
-
-
-
-
- Allows the object to be downloaded if it does not exist in the current cache.
-
-
-
-
- Only allows the object to be pulled from the existing cache.
-
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
- Sets whether the user should be muted.
-
-
-
-
- Sets whether the user should be deafened.
-
-
-
-
- Represents public flags for a channel.
-
-
-
-
- Default value for flags, when none are given to a channel.
-
-
-
-
- Flag given to a thread channel pinned on top of parent forum channel.
-
-
-
-
- Flag given to a forum channel that requires people to select tags when posting.
-
-
-
- Defines the types of channels.
-
-
- The channel is a text channel.
-
-
- The channel is a Direct Message channel.
-
-
- The channel is a voice channel.
-
-
- The channel is a group channel.
-
-
- The channel is a category channel.
-
-
- The channel is a news channel.
-
-
- The channel is a store channel.
-
-
- The channel is a temporary thread channel under a news channel.
-
-
- The channel is a temporary thread channel under a text channel.
-
-
- The channel is a private temporary thread channel under a text channel.
-
-
- The channel is a stage voice channel.
-
-
- The channel is a guild directory used in hub servers. (Unreleased)
-
-
- The channel is a forum channel containing multiple threads.
-
-
-
- Specifies the direction of where entities (e.g. bans/messages) should be retrieved from.
-
-
- This enum is used to specify the direction for retrieving entities.
-
- At the time of writing, is not yet implemented into
- .
- Attempting to use the method with will throw
- a .
-
-
-
-
-
- The entity(s) should be retrieved before an entity.
-
-
-
-
- The entity(s) should be retrieved after an entity.
-
-
-
-
- The entity(s) should be retrieved around an entity.
-
-
-
-
- Gets or sets the topic of the channel.
-
-
- Not available in forum channels.
-
-
-
-
- Gets or sets rate limit on creating posts in this forum channel.
-
-
- Setting this value to anything above zero will require each user to wait X seconds before
- creating another thread; setting this value to 0 will disable rate limits for this channel.
-
- Users with or
- will be exempt from rate limits.
-
-
- Thrown if the value does not fall within [0, 21600].
-
-
-
- Gets or sets a collection of tags inside of this forum channel.
-
-
-
-
- Gets or sets a new default reaction emoji in this forum channel.
-
-
-
-
- Gets or sets the rule used to order posts in forum channels.
-
-
-
-
- Gets or sets the rule used to display posts in a forum channel.
-
-
-
-
- Represents the layout type used to display posts in a forum channel.
-
-
-
-
- A preferred forum layout hasn't been set by a server admin
-
-
-
-
- List View: display forum posts in a text-focused list
-
-
-
-
- Gallery View: display forum posts in a media-focused gallery
-
-
-
-
- Defines the rule used to order posts in forum channels.
-
-
-
-
- Sort forum posts by activity.
-
-
-
-
- Sort forum posts by creation time (from most recent to oldest).
-
-
-
-
- Properties that are used to modify an with the specified changes.
-
-
-
-
-
- Gets or sets the channel to this name.
-
-
- This property defines the new name for this channel.
-
- When modifying an , the must be alphanumeric with
- dashes. It must match the RegEx [a-z0-9-_]{2,100}.
-
-
-
-
-
- Moves the channel to the following position. This property is zero-based.
-
-
-
-
- Gets or sets the category ID for this channel.
-
-
- Setting this value to a category's snowflake identifier will change or set this channel's parent to the
- specified channel; setting this value to will detach this channel from its parent if one
- is set.
-
-
-
-
- Gets or sets the permission overwrites for this channel.
-
-
-
-
- Gets or sets the flags of the channel.
-
-
-
-
- Represents a generic audio channel.
-
-
-
-
- Gets the RTC region for this audio channel.
-
-
- This property can be .
-
-
-
-
- Connects to this audio channel.
-
- Determines whether the client should deaf itself upon connection.
- Determines whether the client should mute itself upon connection.
- Determines whether the audio client is an external one or not.
-
- A task representing the asynchronous connection operation. The task result contains the
- responsible for the connection.
-
-
-
-
- Disconnects from this audio channel.
-
-
- A task representing the asynchronous operation for disconnecting from the audio channel.
-
-
-
-
- Modifies this audio channel.
-
- The properties to modify the channel with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
-
- Represents a generic category channel.
-
-
-
-
- Represents a generic channel.
-
-
-
-
- Gets the name of this channel.
-
-
- A string containing the name of this channel.
-
-
-
-
- Gets a collection of users that are able to view the channel or are currently in this channel.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
- This method will attempt to fetch all users that is able to view this channel or is currently in this channel.
- The library will attempt to split up the requests according to and .
- In other words, if there are 3000 users, and the constant
- is 1000, the request will be split into 3 individual requests; thus returning 53individual asynchronous
- responses, hence the need of flattening.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Gets a user in this channel.
-
- The snowflake identifier of the user (e.g. 168693960628371456).
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a user object that
- represents the found user; if none is found.
-
-
-
-
- Represents a generic direct-message channel.
-
-
-
-
- Gets the recipient of all messages in this channel.
-
-
- A user object that represents the other user in this channel.
-
-
-
-
- Closes this private channel, removing it from your channel list.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous close operation.
-
-
-
-
- Represents a forum channel in a guild that can create posts.
-
-
-
-
- Gets a value that indicates whether the channel is NSFW.
-
-
- if the channel has the NSFW flag enabled; otherwise .
-
-
-
-
- Gets the current topic for this text channel.
-
-
- A string representing the topic set in the channel; if none is set.
-
-
-
-
- Gets the default archive duration for a newly created post.
-
-
-
-
- Gets a collection of tags inside of this forum channel.
-
-
-
-
- Gets the current rate limit on creating posts in this forum channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
-
-
-
-
- Gets the current default slow-mode delay for threads in this forum channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
-
-
-
-
- Gets the emoji to show in the add reaction button on a thread in a forum channel
-
-
- If the emoji is only the will be populated.
- Use to get the emoji.
-
-
-
-
- Gets the rule used to order posts in forum channels.
-
-
- Defaults to null, which indicates a preferred sort order hasn't been set
-
-
-
-
- Gets the rule used to display posts in a forum channel.
-
-
-
-
- Modifies this forum channel.
-
-
- This method modifies the current forum channel with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
- The delegate containing the properties to modify the channel with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Creates a new post (thread) within the forum.
-
- The title of the post.
- The archive duration of the post.
- The slowmode for the posts thread.
- The message to be sent.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the message.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only is permitted.
- An array of to be applied to the post.
-
- A task that represents the asynchronous creation operation.
-
-
-
-
- Creates a new post (thread) within the forum.
-
- The title of the post.
- The archive duration of the post.
- The slowmode for the posts thread.
- The file path of the file.
- The message to be sent.
- The to be sent.
- The options to be used when sending the request.
- Whether the message attachment should be hidden as a spoiler.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only is permitted.
- An array of to be applied to the post.
-
- A task that represents the asynchronous creation operation.
-
-
-
-
- Creates a new post (thread) within the forum.
-
- The title of the post.
- The of the file to be sent.
- The name of the attachment.
- The archive duration of the post.
- The slowmode for the posts thread.
- The message to be sent.
- The to be sent.
- The options to be used when sending the request.
- Whether the message attachment should be hidden as a spoiler.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only is permitted.
- An array of to be applied to the post.
-
- A task that represents the asynchronous creation operation.
-
-
-
-
- Creates a new post (thread) within the forum.
-
- The title of the post.
- The attachment containing the file and description.
- The archive duration of the post.
- The slowmode for the posts thread.
- The message to be sent.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only is permitted.
- An array of to be applied to the post.
-
- A task that represents the asynchronous creation operation.
-
-
-
-
- Creates a new post (thread) within the forum.
-
- The title of the post.
- A collection of attachments to upload.
- The archive duration of the post.
- The slowmode for the posts thread.
- The message to be sent.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- An array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only is permitted.
- An array of to be applied to the post.
-
- A task that represents the asynchronous creation operation.
-
-
-
-
- Gets a collection of active threads within this forum channel.
-
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the threads. The task result contains
- a collection of active threads.
-
-
-
-
- Gets a collection of publicly archived threads within this forum channel.
-
- The optional limit of how many to get.
- The optional date to return threads created before this timestamp.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the threads. The task result contains
- a collection of publicly archived threads.
-
-
-
-
- Gets a collection of privately archived threads within this forum channel.
-
-
- The bot requires the permission in order to execute this request.
-
- The optional limit of how many to get.
- The optional date to return threads created before this timestamp.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the threads. The task result contains
- a collection of privately archived threads.
-
-
-
-
- Gets a collection of privately archived threads that the current bot has joined within this forum channel.
-
- The optional limit of how many to get.
- The optional date to return threads created before this timestamp.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the threads. The task result contains
- a collection of privately archived threads.
-
-
-
-
- Represents a generic private group channel.
-
-
-
-
- Leaves this group.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous leave operation.
-
-
-
-
- Represents a generic guild channel.
-
-
-
-
-
-
-
- Gets the position of this channel.
-
-
- An representing the position of this channel in the guild's channel list relative to
- others of the same type.
-
-
-
-
- Gets the flags related to this channel.
-
-
- This value is determined by bitwise OR-ing values together.
-
-
- A channel's flags, if any is associated.
-
-
-
-
- Gets the guild associated with this channel.
-
-
- A guild object that this channel belongs to.
-
-
-
-
- Gets the guild ID associated with this channel.
-
-
- An representing the guild snowflake identifier for the guild that this channel
- belongs to.
-
-
-
-
- Gets a collection of permission overwrites for this channel.
-
-
- A collection of overwrites associated with this channel.
-
-
-
-
- Modifies this guild channel.
-
-
- This method modifies the current guild channel with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
- The delegate containing the properties to modify the channel with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Gets the permission overwrite for a specific role.
-
- The role to get the overwrite from.
-
- An overwrite object for the targeted role; if none is set.
-
-
-
-
- Gets the permission overwrite for a specific user.
-
- The user to get the overwrite from.
-
- An overwrite object for the targeted user; if none is set.
-
-
-
-
- Removes the permission overwrite for the given role, if one exists.
-
- The role to remove the overwrite from.
- The options to be used when sending the request.
-
- A task representing the asynchronous operation for removing the specified permissions from the channel.
-
-
-
-
- Removes the permission overwrite for the given user, if one exists.
-
- The user to remove the overwrite from.
- The options to be used when sending the request.
-
- A task representing the asynchronous operation for removing the specified permissions from the channel.
-
-
-
-
- Adds or updates the permission overwrite for the given role.
-
-
- The following example fetches a role via and a channel via
- . Next, it checks if an overwrite had already been set via
- ; if not, it denies the role from sending any
- messages to the channel.
-
-
- The role to add the overwrite to.
- The overwrite to add to the role.
- The options to be used when sending the request.
-
- A task representing the asynchronous permission operation for adding the specified permissions to the
- channel.
-
-
-
-
- Adds or updates the permission overwrite for the given user.
-
-
- The following example fetches a user via and a channel via
- . Next, it checks if an overwrite had already been set via
- ; if not, it denies the user from sending any
- messages to the channel.
-
-
- The user to add the overwrite to.
- The overwrite to add to the user.
- The options to be used when sending the request.
-
- A task representing the asynchronous permission operation for adding the specified permissions to the channel.
-
-
-
-
- Gets a collection of users that are able to view the channel or are currently in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Gets a user in this channel.
-
- The snowflake identifier of the user.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task representing the asynchronous get operation. The task result contains a guild user object that
- represents the user; if none is found.
-
-
-
-
- Represents a channel in a guild that can create webhooks.
-
-
-
-
- Creates a webhook in this channel.
-
- The name of the webhook.
- The avatar of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- webhook.
-
-
-
-
- Gets a webhook available in this channel.
-
- The identifier of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a webhook associated
- with the identifier; if the webhook is not found.
-
-
-
-
- Gets the webhooks available in this channel.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of webhooks that is available in this channel.
-
-
-
-
- Represents a generic channel that can send and receive messages.
-
-
-
-
- Sends a message to this message channel.
-
-
- The following example sends a message with the current system time in RFC 1123 format to the channel and
- deletes itself after 5 seconds.
-
-
- The message to be sent.
- Determines whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message references to be included. Used to reply to specific messages.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the message.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only
- and is permitted.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a file to this message channel with an optional caption.
-
-
- The following example uploads a local file called wumpus.txt along with the text
- good discord boi to the channel.
-
- The following example uploads a local image called b1nzy.jpg embedded inside a rich embed to the
- channel.
-
-
-
- This method sends a file as if you are uploading an attachment directly from your Discord client.
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The file path of the file.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
- Whether the message attachment should be hidden as a spoiler.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message references to be included. Used to reply to specific messages.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only and is permitted.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a file to this message channel with an optional caption.
-
-
- The following example uploads a streamed image that will be called b1nzy.jpg embedded inside a
- rich embed to the channel.
-
-
-
- This method sends a file as if you are uploading an attachment directly from your Discord client.
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The of the file to be sent.
- The name of the attachment.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
- Whether the message attachment should be hidden as a spoiler.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message references to be included. Used to reply to specific messages.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only and is permitted.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a file to this message channel with an optional caption.
-
-
- This method sends a file as if you are uploading an attachment directly from your Discord client.
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The attachment containing the file and description.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message references to be included. Used to reply to specific messages.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only and is permitted.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a collection of files to this message channel.
-
-
- This method sends files as if you are uploading attachments directly from your Discord client.
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- A collection of attachments to upload.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message references to be included. Used to reply to specific messages.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the file.
- A array of s to send with this response. Max 10.
- A message flag to be applied to the sent message, only and is permitted.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Gets a message from this message channel.
-
- The snowflake identifier of the message.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the message. The task result contains
- the retrieved message; if no message is found with the specified identifier.
-
-
-
-
- Gets the last N messages from this message channel.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
-
- Do not fetch too many messages at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of messages specified under . The
- library will attempt to split up the requests according to your and
- . In other words, should the user request 500 messages,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
-
- The following example downloads 300 messages and gets messages that belong to the user
- 53905483156684800.
-
-
- The numbers of message to be gotten from.
- The that determines whether the object should be fetched from
- cache.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
-
- Do not fetch too many messages at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of messages specified under around
- the message depending on the . The library will
- attempt to split up the requests according to your and
- . In other words, should the user request 500 messages,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
-
- The following example gets 5 message prior to the message identifier 442012544660537354.
-
- The following example attempts to retrieve messageCount number of messages from the
- beginning of the channel and prints them to the console.
-
-
- The ID of the starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The that determines whether the object should be fetched from
- cache.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
-
- Do not fetch too many messages at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of messages specified under around
- the message depending on the . The library will
- attempt to split up the requests according to your and
- . In other words, should the user request 500 messages,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
-
- The following example gets 5 message prior to a specific message, oldMessage.
-
-
- The starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The that determines whether the object should be fetched from
- cache.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of pinned messages in this channel.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation for retrieving pinned messages in this channel.
- The task result contains a collection of messages found in the pinned messages.
-
-
-
-
- Deletes a message.
-
- The snowflake identifier of the message that would be removed.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
- Deletes a message based on the provided message in this channel.
- The message that would be removed.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Modifies a message.
-
-
- This method modifies this message with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
- The snowflake identifier of the message that would be changed.
- A delegate containing the properties to modify the message with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Broadcasts the "user is typing" message to all users in this channel, lasting 10 seconds.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation that triggers the broadcast.
-
-
-
-
- Continuously broadcasts the "user is typing" message to all users in this channel until the returned
- object is disposed.
-
-
- The following example keeps the client in the typing state until LongRunningAsync has finished.
-
-
- The options to be used when sending the request.
-
- A disposable object that, upon its disposal, will stop the client from broadcasting its typing state in
- this channel.
-
-
-
-
- Represents a type of guild channel that can be nested within a category.
-
-
-
-
- Gets the parent (category) ID of this channel in the guild's channel list.
-
-
- A representing the snowflake identifier of the parent of this channel;
- if none is set.
-
-
-
-
- Gets the parent (category) channel of this channel.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the category channel
- representing the parent of this channel; if none is set.
-
-
-
-
- Syncs the permissions of this nested channel with its parent's.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for syncing channel permissions with its parent's.
-
-
-
-
- Creates a new invite to this channel.
-
-
- The following example creates a new invite to this channel; the invite lasts for 12 hours and can only
- be used 3 times throughout its lifespan.
-
- await guildChannel.CreateInviteAsync(maxAge: 43200, maxUses: 3);
-
-
- The time (in seconds) until the invite expires. Set to to never expire.
- The max amount of times this invite may be used. Set to to have unlimited uses.
- If , the user accepting this invite will be kicked from the guild after closing their client.
- If , don't try to reuse a similar invite (useful for creating many unique one time use invites).
- The options to be used when sending the request.
-
- A task that represents the asynchronous invite creation operation. The task result contains an invite
- metadata object containing information for the created invite.
-
-
-
-
- Creates a new invite to this channel.
-
- The id of the embedded application to open for this invite.
- The time (in seconds) until the invite expires. Set to to never expire.
- The max amount of times this invite may be used. Set to to have unlimited uses.
- If , the user accepting this invite will be kicked from the guild after closing their client.
- If , don't try to reuse a similar invite (useful for creating many unique one time use invites).
- The options to be used when sending the request.
-
- A task that represents the asynchronous invite creation operation. The task result contains an invite
- metadata object containing information for the created invite.
-
-
-
-
- Creates a new invite to this channel.
-
- The application to open for this invite.
- The time (in seconds) until the invite expires. Set to to never expire.
- The max amount of times this invite may be used. Set to to have unlimited uses.
- If , the user accepting this invite will be kicked from the guild after closing their client.
- If , don't try to reuse a similar invite (useful for creating many unique one time use invites).
- The options to be used when sending the request.
-
- A task that represents the asynchronous invite creation operation. The task result contains an invite
- metadata object containing information for the created invite.
-
-
-
-
- Creates a new invite to this channel.
-
-
- The following example creates a new invite to this channel; the invite lasts for 12 hours and can only
- be used 3 times throughout its lifespan.
-
- await guildChannel.CreateInviteAsync(maxAge: 43200, maxUses: 3);
-
-
- The id of the user whose stream to display for this invite.
- The time (in seconds) until the invite expires. Set to to never expire.
- The max amount of times this invite may be used. Set to to have unlimited uses.
- If , the user accepting this invite will be kicked from the guild after closing their client.
- If , don't try to reuse a similar invite (useful for creating many unique one time use invites).
- The options to be used when sending the request.
-
- A task that represents the asynchronous invite creation operation. The task result contains an invite
- metadata object containing information for the created invite.
-
-
-
-
- Gets a collection of all invites to this channel.
- B
-
- The following example gets all of the invites that have been created in this channel and selects the
- most used invite.
-
- var invites = await channel.GetInvitesAsync();
- if (invites.Count == 0) return;
- var invite = invites.OrderByDescending(x => x.Uses).FirstOrDefault();
-
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of invite metadata that are created for this channel.
-
-
-
-
- Represents a generic news channel in a guild that can send and receive messages.
-
-
-
-
- Follow this channel to send messages to a target channel.
-
-
- The Id of the created webhook.
-
-
-
-
- Represents a generic channel that is private to select recipients.
-
-
-
-
- Gets the users that can access this channel.
-
-
- A read-only collection of users that can access this channel.
-
-
-
-
- Represents a generic Stage Channel.
-
-
-
-
- Gets the of the current stage.
-
-
- If the stage isn't live then this property will be set to .
-
-
-
-
- Gets whether or not stage discovery is disabled.
-
-
-
-
- Gets whether or not the stage is live.
-
-
-
-
- Starts the stage, creating a stage instance.
-
- The topic for the stage/
- The privacy level of the stage.
- The options to be used when sending the request.
-
- A task that represents the asynchronous start operation.
-
-
-
-
- Modifies the current stage instance.
-
- The properties to modify the stage instance with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modify operation.
-
-
-
-
- Stops the stage, deleting the stage instance.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous stop operation.
-
-
-
-
- Indicates that the bot would like to speak within a stage channel.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous request to speak operation.
-
-
-
-
- Makes the current user become a speaker within a stage.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous speaker modify operation.
-
-
-
-
- Makes the current user a listener.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous stop operation.
-
-
-
-
- Makes a user a speaker within a stage.
-
- The user to make the speaker.
- The options to be used when sending the request.
-
- A task that represents the asynchronous move operation.
-
-
-
-
- Removes a user from speaking.
-
- The user to remove from speaking.
- The options to be used when sending the request.
-
- A task that represents the asynchronous remove operation.
-
-
-
-
- Represents a generic channel in a guild that can send and receive messages.
-
-
-
-
- Gets a value that indicates whether the channel is NSFW.
-
-
- if the channel has the NSFW flag enabled; otherwise .
-
-
-
-
- Gets the current topic for this text channel.
-
-
- A string representing the topic set in the channel; if none is set.
-
-
-
-
- Gets the current slow-mode delay for this channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
-
-
-
-
- Gets the current default slow-mode delay for threads in this channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
-
-
-
-
- Gets the default auto-archive duration for client-created threads in this channel.
-
-
- The value of this property does not affect API thread creation, it will not respect this value.
-
-
- The default auto-archive duration for thread creation in this channel.
-
-
-
-
- Bulk-deletes multiple messages.
-
-
- The following example gets 250 messages from the channel and deletes them.
-
- var messages = await textChannel.GetMessagesAsync(250).FlattenAsync();
- await textChannel.DeleteMessagesAsync(messages);
-
-
-
- This method attempts to remove the messages specified in bulk.
-
- Due to the limitation set by Discord, this method can only remove messages that are posted within 14 days!
-
-
- The messages to be bulk-deleted.
- The options to be used when sending the request.
-
- A task that represents the asynchronous bulk-removal operation.
-
-
-
-
- Bulk-deletes multiple messages.
-
-
- This method attempts to remove the messages specified in bulk.
-
- Due to the limitation set by Discord, this method can only remove messages that are posted within 14 days!
-
-
- The snowflake identifier of the messages to be bulk-deleted.
- The options to be used when sending the request.
-
- A task that represents the asynchronous bulk-removal operation.
-
-
-
-
- Modifies this text channel.
-
- The delegate containing the properties to modify the channel with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
-
- Creates a thread within this .
-
-
- When is the thread type will be based off of the
- channel its created in. When called on a , it creates a .
- When called on a , it creates a . The id of the created
- thread will be the same as the id of the message, and as such a message can only have a
- single thread created from it.
-
- The name of the thread.
-
- The type of the thread.
-
- Note: This parameter is not used if the parameter is not specified.
-
-
-
- The duration on which this thread archives after.
-
- Note: Options and
- are only available for guilds that are boosted. You can check in the to see if the
- guild has the THREE_DAY_THREAD_ARCHIVE and SEVEN_DAY_THREAD_ARCHIVE.
-
-
- The message which to start the thread from.
- Whether non-moderators can add other non-moderators to a thread; only available when creating a private thread
- The amount of seconds a user has to wait before sending another message (0-21600)
- The options to be used when sending the request.
-
- A task that represents the asynchronous create operation. The task result contains a
-
-
-
-
- Gets a collection of active threads within this channel.
-
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the threads. The task result contains
- a collection of active threads.
-
-
-
-
- Represents a thread channel inside of a guild.
-
-
-
-
- Gets the type of the current thread channel.
-
-
-
-
- Gets whether or not the current user has joined this thread.
-
-
-
-
- Gets whether or not the current thread is archived.
-
-
-
-
- Gets the duration of time before the thread is automatically archived after no activity.
-
-
-
-
- Gets the timestamp when the thread's archive status was last changed, used for calculating recent activity.
-
-
-
-
- Gets whether or not the current thread is locked.
-
-
-
-
- Gets an approximate count of users in a thread, stops counting after 50.
-
-
-
-
- Gets an approximate count of messages in a thread, stops counting after 50.
-
-
-
-
- Gets whether non-moderators can add other non-moderators to a thread.
-
-
- This property is only available on private threads.
-
-
-
-
- Gets ids of tags applied to a forum thread
-
-
- This property is only available on forum threads.
-
-
-
-
- Gets when the thread was created.
-
-
- This property is only populated for threads created after 2022-01-09, hence the default date of this
- property will be that date.
-
-
-
-
- Gets the id of the creator of the thread.
-
-
-
-
- Joins the current thread.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous join operation.
-
-
-
-
- Leaves the current thread.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous leave operation.
-
-
-
-
- Adds a user to this thread.
-
- The to add.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation of adding a member to a thread.
-
-
-
-
- Removes a user from this thread.
-
- The to remove from this thread.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation of removing a user from this thread.
-
-
-
-
- Modifies this thread channel.
-
- The delegate containing the properties to modify the channel with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
-
- Represents a generic voice channel in a guild.
-
-
-
-
- Gets the bit-rate that the clients in this voice channel are requested to use.
-
-
- An representing the bit-rate (bps) that this voice channel defines and requests the
- client(s) to use.
-
-
-
-
- Gets the max number of users allowed to be connected to this channel at once.
-
-
- An representing the maximum number of users that are allowed to be connected to this
- channel at once; if a limit is not set.
-
-
-
-
- Gets the video quality mode for this channel.
-
-
-
-
- Modifies this voice channel.
-
- The properties to modify the channel with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
-
- Provides properties that are used to reorder an .
-
-
-
-
- Gets the ID of the channel to apply this position to.
-
-
- A representing the snowflake identifier of this channel.
-
-
-
-
- Gets the new zero-based position of this channel.
-
-
- An representing the new position of this channel.
-
-
-
- Initializes a new instance of the class used to reorder a channel.
- Sets the ID of the channel to apply this position to.
- Sets the new zero-based position of this channel.
-
-
-
- Represents properties to use when modifying a stage instance.
-
-
-
-
- Gets or sets the topic of the stage.
-
-
-
-
- Gets or sets the privacy level of the stage.
-
-
-
-
- Represents the privacy level of a stage.
-
-
-
-
- The Stage instance is visible publicly, such as on Stage Discovery.
-
-
-
-
- The Stage instance is visible to only guild members.
-
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
-
- Gets or sets the topic of the channel.
-
-
- Setting this value to any string other than or will set the
- channel topic or description to the desired value.
-
-
-
-
- Gets or sets whether this channel should be flagged as NSFW.
-
-
- Setting this value to will mark the channel as NSFW (Not Safe For Work) and will prompt the
- user about its possibly mature nature before they may view the channel; setting this value to will
- remove the NSFW indicator.
-
-
-
-
- Gets or sets the slow-mode ratelimit in seconds for this channel.
-
-
- Setting this value to anything above zero will require each user to wait X seconds before
- sending another message; setting this value to 0 will disable slow-mode for this channel.
-
- Users with or
- will be exempt from slow-mode.
-
-
- Thrown if the value does not fall within [0, 21600].
-
-
-
- Gets or sets the auto archive duration.
-
-
-
-
- Gets or sets the default slow-mode for threads in this channel.
-
-
- Setting this value to anything above zero will require each user to wait X seconds before
- sending another message; setting this value to 0 will disable slow-mode for child threads.
-
- Users with or
- will be exempt from slow-mode.
-
-
- Thrown if the value does not fall within [0, 21600].
-
-
-
- Represents the thread auto archive duration.
-
-
-
-
- One hour (60 minutes).
-
-
-
-
- One day (1440 minutes).
-
-
-
-
- Three days (4320 minutes).
-
-
-
-
- One week (10080 minutes).
-
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
-
- Gets or sets the tags applied to a forum thread
-
-
-
-
- Gets or sets whether or not the thread is locked.
-
-
-
-
- Gets or sets whether or not the thread is archived.
-
-
-
-
- Represents types of threads.
-
-
-
-
- Represents a temporary sub-channel within a GUILD_NEWS channel.
-
-
-
-
- Represents a temporary sub-channel within a GUILD_TEXT channel.
-
-
-
-
- Represents a temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission
-
-
-
-
- Represents a video quality mode for voice channels.
-
-
-
-
- Discord chooses the quality for optimal performance.
-
-
-
-
- 720p.
-
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
- Gets or sets the bitrate of the voice connections in this channel. Must be greater than 8000.
-
-
-
-
- Gets or sets the maximum number of users that can be present in a channel, or if none.
-
-
-
-
- Gets or sets the channel voice region id, automatic when set to .
-
-
-
-
- Get or sets the video quality mode for this channel.
-
-
-
-
- Not supported in voice channels
-
-
-
-
-
- A Unicode emoji.
-
-
-
-
-
-
-
- Gets the Unicode representation of this emoji.
-
-
- A string that resolves to .
-
-
-
-
- Initializes a new class with the provided Unicode.
-
- The pure UTF-8 encoding of an emoji.
-
-
-
- Determines whether the specified emoji is equal to the current one.
-
- The object to compare with the current object.
-
-
- Tries to parse an from its raw format.
- The raw encoding of an emoji. For example: :heart: or ❤
- An emoji.
-
-
- Parse an from its raw format.
- The raw encoding of an emoji. For example: :heart: or ❤
- String is not emoji or unicode!
-
-
-
-
-
-
- A custom image-based emote.
-
-
-
-
-
-
-
-
-
-
- Gets whether this emote is animated.
-
-
- A boolean that determines whether or not this emote is an animated one.
-
-
-
-
-
-
-
- Gets the image URL of this emote.
-
-
- A string that points to the URL of this emote.
-
-
-
-
- Determines whether the specified emote is equal to the current emote.
-
- The object to compare with the current object.
-
-
-
-
-
- Parses an from its raw format.
- The raw encoding of an emote (e.g. <:dab:277855270321782784>).
- An emote.
- Invalid emote format.
-
-
- Tries to parse an from its raw format.
- The raw encoding of an emote; for example, <:dab:277855270321782784>.
- An emote.
-
-
-
- Returns the raw representation of the emote.
-
-
- A string representing the raw presentation of the emote (e.g. <:thonkang:282745590985523200>).
-
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
-
- Gets or sets the name of the .
-
-
-
-
- Gets or sets the roles that can access this .
-
-
-
-
- An image-based emote that is attached to a guild.
-
-
-
-
- Gets whether this emoji is managed by an integration.
-
-
- A boolean that determines whether or not this emote is managed by a Twitch integration.
-
-
-
-
- Gets whether this emoji must be wrapped in colons.
-
-
- A boolean that determines whether or not this emote requires the use of colons in chat to be used.
-
-
-
-
- Gets the roles that are allowed to use this emoji.
-
-
- A read-only list containing snowflake identifiers for roles that are allowed to use this emoji.
-
-
-
-
- Gets the user ID associated with the creation of this emoji.
-
-
- An snowflake identifier representing the user who created this emoji;
- if unknown.
-
-
-
-
- Gets the raw representation of the emote.
-
-
- A string representing the raw presentation of the emote (e.g. <:thonkang:282745590985523200>).
-
-
-
-
- Represents a general container for any type of emote in a message.
-
-
-
-
- Gets the display name or Unicode representation of this emote.
-
-
- A string representing the display name or the Unicode representation (e.g. 🤔) of this emote.
-
-
-
-
- A struct representing a forum channel tag.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets whether supplied tag is equals to the current one.
-
-
-
-
-
-
-
- Returns the maximum length of name allowed by Discord.
-
-
-
-
- Gets or sets the snowflake Id of the tag.
-
-
- If set this will update existing tag or will create a new one otherwise.
-
-
-
-
- Gets or sets the name of the tag.
-
- Name length must be less than or equal to .
-
-
-
- Gets or sets the emoji of the tag.
-
-
-
-
- Gets or sets whether this tag can only be added to or removed from threads by a member
- with the permission
-
-
-
-
- Initializes a new class.
-
-
-
-
- Initializes a new class with values
-
- If set existing tag will be updated or a new one will be created otherwise.
- Name of the tag.
- Sets whether this tag can only be added to or removed from threads by a member
- with the permission.
-
-
-
- Initializes a new class with values
-
- Name of the tag.
- If set existing tag will be updated or a new one will be created otherwise.
- Display emoji of the tag.
- Sets whether this tag can only be added to or removed from threads by a member
- with the permission.
-
-
-
- Initializes a new class with values
-
- /// Name of the tag.
- If set existing tag will be updated or a new one will be created otherwise.
- The id of custom Display emoji of the tag.
- Sets whether this tag can only be added to or removed from threads by a member
- with the permission
-
-
-
- Builds the Tag.
-
- An instance of
- "Name must be set to build the tag"
-
-
-
- Sets the name of the tag.
-
- Name length must be less than or equal to .
-
-
-
- Sets the id of the tag.
-
- If set existing tag will be updated or a new one will be created otherwise.
- Name length must be less than or equal to .
-
-
-
- Sets the emoji of the tag.
-
-
-
-
- Sets whether this tag can only be added to or removed from threads by a member
- with the permission
-
-
-
-
- Gets whether supplied tag builder is equals to the current one.
-
-
-
-
- Gets the Id of the tag.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets whether supplied tag is equals to the current one.
-
-
-
-
- Represents a Discord forum tag
-
-
-
-
- Gets the Id of the tag.
-
-
- This property may be if the object is .
-
-
-
-
- Gets the name of the tag.
-
-
-
-
- Gets the emoji of the tag or if none is set.
-
-
- If the emoji is only the will be populated.
- Use to get the emoji.
-
-
-
-
- Gets whether this tag can only be added to or removed from threads by a member
- with the permission
-
-
-
-
- Stores the gateway information related to the current bot.
-
-
-
-
- Gets the WSS URL that can be used for connecting to the gateway.
-
-
-
-
- Gets the recommended number of shards to use when connecting.
-
-
-
-
- Gets the that contains the information
- about the current session start limit.
-
-
-
-
- Stores the information related to the gateway identify request.
-
-
-
-
- Gets the total number of session starts the current user is allowed.
-
-
- The maximum amount of session starts the current user is allowed.
-
-
-
-
- Gets the remaining number of session starts the current user is allowed.
-
-
- The remaining amount of session starts the current user is allowed.
-
-
-
-
- Gets the number of milliseconds after which the limit resets.
-
-
- The milliseconds until the limit resets back to the .
-
-
-
-
- Gets the maximum concurrent identify requests in a time window.
-
-
- The maximum concurrent identify requests in a time window,
- limited to the same rate limit key.
-
-
-
-
- Blocks the content of a message according to the rule.
-
-
-
-
- Logs user content to a specified channel.
-
-
-
-
- Timeout user for a specified duration.
-
-
-
-
- An enum indecating in what event context a rule should be checked.
-
-
-
-
- When a member sends or edits a message in the guild.
-
-
-
-
- Represents an action that will be preformed if a user breaks an .
-
-
-
-
- Gets the type for this action.
-
-
-
-
- Get the channel id on which to post alerts. if no channel has been provided.
-
-
-
-
- Gets the custom message that will be shown to members whenever their message is blocked.
- if no message has been set.
-
-
-
-
- Gets the duration of which a user will be timed out for breaking this rule. if no timeout duration has been provided.
-
-
-
-
- Provides properties used to modify a .
-
-
-
-
- Returns the max keyword count for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max keyword length for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max regex pattern count for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max regex pattern length for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max allowlist keyword count for a AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max allowlist keyword count for a AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max allowlist keyword length for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max mention limit for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max exempt role count for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max exempt channel count for an AutoMod rule allowed by Discord.
-
-
-
-
- Returns the max timeout duration in seconds for an auto moderation rule action.
-
-
-
-
- Returns the max custom message length AutoMod rule action allowed by Discord.
-
-
-
-
- Gets or sets the name for the rule.
-
-
-
-
- Gets or sets the event type for the rule.
-
-
-
-
- Gets or sets the trigger type for the rule.
-
-
-
-
- Gets or sets the keyword filter for the rule.
-
-
-
-
- Gets or sets regex patterns for the rule.
-
-
-
-
- Gets or sets the allow list for the rule.
-
-
-
-
- Gets or sets total mention limit for the rule.
-
-
-
-
- Gets or sets the presets for the rule. Empty if the rule has no presets.
-
-
-
-
- Gets or sets the actions for the rule.
-
-
-
-
- Gets or sets whether or not the rule is enabled.
-
-
-
-
- Gets or sets the exempt roles for the rule. Empty if the rule has no exempt roles.
-
-
-
-
- Gets or sets the exempt channels for the rule. Empty if the rule has no exempt channels.
-
-
-
-
- Provides properties used to modify a .
-
-
-
-
- Gets or sets the type for this action.
-
-
-
-
- Get or sets the channel id on which to post alerts.
-
-
-
-
- Gets or sets the duration of which a user will be timed out for breaking this rule.
-
-
-
-
- Gets or sets the custom message that will be shown to members whenever their message is blocked.
-
-
-
-
- An enum representing the type of content which can trigger the rule.
-
-
-
-
- Check if content contains words from a user defined list of keywords.
-
-
-
-
- Check if content contains any harmful links.
-
-
-
-
- Check if content represents generic spam.
-
-
-
-
- Check if content contains words from internal pre-defined wordsets.
-
-
-
-
- Check if content contains more unique mentions than allowed.
-
-
-
-
- Represents a auto mod rule within a guild.
-
-
-
-
- Gets the guild id on which this rule exists.
-
-
-
-
- Get the name of this rule.
-
-
-
-
- Gets the id of the user who created this use.
-
-
-
-
- Gets the event type on which this rule is triggered.
-
-
-
-
- Gets the trigger type on which this rule executes.
-
-
-
-
- Gets the keyword filter for this rule.
-
-
- This collection will be empty if is not
- .
-
-
-
-
- Gets regex patterns for this rule. Empty if the rule has no regexes.
-
-
- This collection will be empty if is not
- .
-
-
-
-
- Gets the allow list patterns for this rule. Empty if the rule has no allowed terms.
-
-
- This collection will be empty if is not
- .
-
-
-
-
- Gets the preset keyword types for this rule. Empty if the rule has no presets.
-
-
- This collection will be empty if is not
- .
-
-
-
-
- Gets the total mention limit for this rule.
-
-
- This property will be if is not
- .
-
-
-
-
- Gets a collection of actions that will be preformed if a user breaks this rule.
-
-
-
-
- Gets whether or not this rule is enabled.
-
-
-
-
- Gets a collection of role ids that are exempt from this rule. Empty if the rule has no exempt roles.
-
-
-
-
- Gets a collection of channel ids that are exempt from this rule. Empty if the rule has no exempt channels.
-
-
-
-
- Modifies this rule.
-
- The delegate containing the properties to modify the rule with.
- The options to be used when sending the request.
-
-
-
- An enum representing preset filter types.
-
-
-
-
- Words that may be considered forms of swearing or cursing.
-
-
-
-
- Words that refer to sexually explicit behavior or activity.
-
-
-
-
- Personal insults or words that may be considered hate speech.
-
-
-
-
- Specifies the default message notification behavior the guild uses.
-
-
-
-
- By default, all messages will trigger notifications.
-
-
-
-
- By default, only mentions will trigger notifications.
-
-
-
- No messages will be scanned.
-
-
- Scans messages from all guild members that do not have a role.
- Recommended option for servers that use roles for trusted membership.
-
-
- Scan messages sent by all guild members.
-
-
-
- The guild has no features.
-
-
-
-
- The guild has access to animated banners.
-
-
-
-
- The guild has access to set an animated guild icon.
-
-
-
-
- The guild has access to set a guild banner image.
-
-
-
-
- The guild has access to channel banners.
-
-
-
-
- The guild has access to use commerce features (i.e. create store channels).
-
-
-
-
- The guild can enable welcome screen, Membership Screening, stage channels and discovery, and receives community updates.
-
-
- This feature is mutable.
-
-
-
-
- The guild is able to be discovered in the directory.
-
-
- This feature is mutable.
-
-
-
-
- The guild has discoverable disabled.
-
-
-
-
- The guild has enabled discoverable before.
-
-
-
-
- The guild is able to be featured in the directory.
-
-
-
-
- The guild has a force relay.
-
-
-
-
- The guild has a directory entry.
-
-
-
-
- The guild is a hub.
-
-
-
-
- You shouldn't be here...
-
-
-
-
- The guild has access to set an invite splash background.
-
-
-
-
- The guild is linked to a hub.
-
-
-
-
- The guild has member profiles.
-
-
-
-
- The guild has enabled Membership Screening.
-
-
-
-
- The guild has enabled monetization.
-
-
-
-
- The guild has more emojis.
-
-
-
-
- The guild has increased custom sticker slots.
-
-
-
-
- The guild has access to create news channels.
-
-
-
-
- The guild has new thread permissions.
-
-
-
-
- The guild is partnered.
-
-
-
-
- The guild has a premium tier three override; guilds made by Discord usually have this.
-
-
-
-
- The guild can be previewed before joining via Membership Screening or the directory.
-
-
-
-
- The guild has access to create private threads.
-
-
-
-
- The guild has relay enabled.
-
-
-
-
- The guild is able to set role icons.
-
-
-
-
- The guild has role subscriptions available for purchase.
-
-
-
-
- The guild has role subscriptions enabled.
-
-
-
-
- The guild has access to the seven day archive time for threads.
-
-
-
-
- The guild has text in voice enabled.
-
-
-
-
- The guild has threads enabled.
-
-
-
-
- The guild has testing threads enabled.
-
-
-
-
- The guild has the default thread auto archive.
-
-
-
-
- The guild has access to the three day archive time for threads.
-
-
-
-
- The guild has enabled ticketed events.
-
-
-
-
- The guild has access to set a vanity URL.
-
-
-
-
- The guild is verified.
-
-
-
-
- The guild has access to set 384kbps bitrate in voice (previously VIP voice servers).
-
-
-
-
- The guild has enabled the welcome screen.
-
-
-
-
- The guild has been set as a support server on the App Directory.
-
-
-
-
- The guild has invites disabled.
-
-
- This feature is mutable.
-
-
-
-
- The guild has auto moderation enabled.
-
-
-
-
- This guild has alerts for join raids disabled.
-
-
- This feature is mutable.
-
-
-
-
- This guild has Clyde AI enabled.
-
-
- This feature is mutable.
-
-
-
-
- This guild has a guild web page vanity url.
-
-
-
-
- Gets the flags of recognized features for this guild.
-
-
-
-
- Gets a collection of experimental features for this guild. Features that are not contained in are put in here.
-
-
-
-
- Gets whether or not the guild has threads enabled.
-
-
-
-
- Gets whether or not the guild has text-in-voice enabled.
-
-
-
-
- Gets whether or not the server is a internal staff server.
-
-
- You shouldn't touch anything here unless you know what you're doing :)
-
-
-
-
- Gets whether or not this server is a hub.
-
-
-
-
- Gets whether or this server is linked to a hub server.
-
-
-
-
- Gets whether or not this server is partnered.
-
-
-
-
- Gets whether or not this server is verified.
-
-
-
-
- Gets whether or not this server has vanity urls enabled.
-
-
-
-
- Gets whether or not this server has role subscriptions enabled.
-
-
-
-
- Gets whether or not this server has role icons enabled.
-
-
-
-
- Gets whether or not this server has private threads enabled.
-
-
-
-
- Returns whether or not this guild has a feature.
-
- The feature(s) to check for.
- if this guild has the provided feature(s), otherwise .
-
-
-
- Returns whether or not this guild has a feature.
-
- The feature to check for.
- if this guild has the provided feature, otherwise .
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
-
- Gets or sets the name of the guild. Must be within 100 characters.
-
-
-
-
- Gets or sets the region for the guild's voice connections.
-
-
-
-
- Gets or sets the ID of the region for the guild's voice connections.
-
-
-
-
- Gets or sets the verification level new users need to achieve before speaking.
-
-
-
-
- Gets or sets the default message notification state for the guild.
-
-
-
-
- Gets or sets how many seconds before a user is sent to AFK. This value MUST be one of: (60, 300, 900,
- 1800, 3600).
-
-
-
-
- Gets or sets the icon of the guild.
-
-
-
-
- Gets or sets the banner of the guild.
-
-
-
-
- Gets or sets the guild's splash image.
-
-
- The guild must be partnered for this value to have any effect.
-
-
-
-
- Gets or sets the where AFK users should be sent.
-
-
-
-
- Gets or sets the ID of the where AFK users should be sent.
-
-
-
-
- Gets or sets the where system messages should be sent.
-
-
-
-
- Gets or sets the ID of the where system messages should be sent.
-
-
-
-
- Gets or sets the owner of this guild.
-
-
-
-
- Gets or sets the ID of the owner of this guild.
-
-
-
-
- Gets or sets the explicit content filter level of this guild.
-
-
-
-
- Gets or sets the flags that DISABLE types of system channel messages.
-
-
- These flags are inverted. Setting a flag will disable that system channel message from being sent.
- A value of will allow all system channel message types to be sent,
- given that the has also been set.
- A value of will deny guild boost messages from being sent, and allow all
- other types of messages.
- Refer to the extension methods ,
- , ,
- and to check if these system channel message types
- are enabled, without the need to manipulate the logic of the flag.
-
-
-
-
- Gets or sets the preferred locale of the guild in IETF BCP 47 language tag format.
-
-
- This property takes precedence over .
- When it is set, the value of
- will not be used.
-
-
-
-
- Gets or sets the preferred locale of the guild.
-
-
- The property takes precedence
- over this property. When is set,
- the value of will be unused.
-
-
-
-
- Gets or sets if the boost progress bar is enabled.
-
-
-
-
- Gets or sets the guild features enabled in this guild. Features that are not mutable will be ignored.
-
-
-
-
- Gets or sets the ID of the safety alerts channel.
-
-
-
-
- Represents the privacy level of a guild scheduled event.
-
-
-
-
- The scheduled event is public and available in discovery.
-
-
-
-
- The scheduled event is only accessible to guild members.
-
-
-
-
- Provides properties that are used to modify an with the specified changes.
-
-
-
-
- Gets or sets the channel id of the event.
-
-
-
-
- Gets or sets the location of this event.
-
-
-
-
- Gets or sets the name of the event.
-
-
-
-
- Gets or sets the privacy level of the event.
-
-
-
-
- Gets or sets the start time of the event.
-
-
-
-
- Gets or sets the end time of the event.
-
-
-
-
- Gets or sets the description of the event.
-
-
-
-
- Gets or sets the type of the event.
-
-
-
-
- Gets or sets the status of the event.
-
-
-
-
- Gets or sets the banner image of the event.
-
-
-
-
- Represents the status of a guild event.
-
-
-
-
- The event is scheduled for a set time.
-
-
-
-
- The event has started.
-
-
-
-
- The event was completed.
-
-
-
-
- The event was canceled.
-
-
-
-
- Represents the type of a guild scheduled event.
-
-
-
-
- The event doesn't have a set type.
-
-
-
-
- The event is set in a stage channel.
-
-
-
-
- The event is set in a voice channel.
-
-
-
-
- The event is set for somewhere externally from discord.
-
-
-
-
- Provides properties that are used to modify the widget of an with the specified changes.
-
-
-
-
- Sets whether the widget should be enabled.
-
-
-
-
- Sets the channel that the invite should place its users in, if not .
-
-
-
-
- Sets the channel that the invite should place its users in, if not .
-
-
-
-
- Represents a generic ban object.
-
-
-
-
- Gets the banned user.
-
-
- A user that was banned.
-
-
-
-
- Gets the reason why the user is banned if specified.
-
-
- A string containing the reason behind the ban; if none is specified.
-
-
-
-
- Represents a generic guild/server.
-
-
-
-
- Gets the name of this guild.
-
-
- A string containing the name of this guild.
-
-
-
-
- Gets the amount of time (in seconds) a user must be inactive in a voice channel for until they are
- automatically moved to the AFK voice channel.
-
-
- An representing the amount of time in seconds for a user to be marked as inactive
- and moved into the AFK voice channel.
-
-
-
-
- Gets a value that indicates whether this guild has the widget enabled.
-
-
- if this guild has a widget enabled; otherwise .
-
-
-
-
- Gets the default message notifications for users who haven't explicitly set their notification settings.
-
-
-
-
- Gets the level of Multi-Factor Authentication requirements a user must fulfill before being allowed to
- perform administrative actions in this guild.
-
-
- The level of MFA requirement.
-
-
-
-
- Gets the level of requirements a user must fulfill before being allowed to post messages in this guild.
-
-
- The level of requirements.
-
-
-
-
- Gets the level of content filtering applied to user's content in a Guild.
-
-
- The level of explicit content filtering.
-
-
-
-
- Gets the ID of this guild's icon.
-
-
- An identifier for the splash image; if none is set.
-
-
-
-
- Gets the URL of this guild's icon.
-
-
- A URL pointing to the guild's icon; if none is set.
-
-
-
-
- Gets the ID of this guild's splash image.
-
-
- An identifier for the splash image; if none is set.
-
-
-
-
- Gets the URL of this guild's splash image.
-
-
- A URL pointing to the guild's splash image; if none is set.
-
-
-
-
- Gets the ID of this guild's discovery splash image.
-
-
- An identifier for the discovery splash image; if none is set.
-
-
-
-
- Gets the URL of this guild's discovery splash image.
-
-
- A URL pointing to the guild's discovery splash image; if none is set.
-
-
-
-
- Determines if this guild is currently connected and ready to be used.
-
-
-
- This property only applies to a WebSocket-based client.
-
- This boolean is used to determine if the guild is currently connected to the WebSocket and is ready to be used/accessed.
-
-
- if this guild is currently connected and ready to be used; otherwise .
-
-
-
-
- Gets the ID of the AFK voice channel for this guild.
-
-
- A representing the snowflake identifier of the AFK voice channel; if
- none is set.
-
-
-
-
- Gets the ID of the channel assigned to the widget of this guild.
-
-
- A representing the snowflake identifier of the channel assigned to the widget found
- within the widget settings of this guild; if none is set.
-
-
-
-
- Gets the ID of the channel assigned to the safety alerts channel of this guild.
-
-
- A representing the snowflake identifier of the safety alerts channel;
- if none is set.
-
-
-
-
- Gets the ID of the channel where randomized welcome messages are sent.
-
-
- A representing the snowflake identifier of the system channel where randomized
- welcome messages are sent; if none is set.
-
-
-
-
- Gets the ID of the channel with the rules.
-
-
- A representing the snowflake identifier of the channel that contains the rules;
- if none is set.
-
-
-
-
- Gets the ID of the channel where admins and moderators of Community guilds receive notices from Discord.
-
-
- A representing the snowflake identifier of the channel where admins and moderators
- of Community guilds receive notices from Discord; if none is set.
-
-
-
-
- Gets the ID of the user that owns this guild.
-
-
- A representing the snowflake identifier of the user that owns this guild.
-
-
-
-
- Gets the application ID of the guild creator if it is bot-created.
-
-
- A representing the snowflake identifier of the application ID that created this guild, or if it was not bot-created.
-
-
-
-
- Gets the ID of the region hosting this guild's voice channels.
-
-
- A string containing the identifier for the voice region that this guild uses (e.g. eu-central).
-
-
-
-
- Gets the currently associated with this guild.
-
-
- An currently associated with this guild.
-
-
-
-
- Gets the built-in role containing all users in this guild.
-
-
- A role object that represents an @everyone role in this guild.
-
-
-
-
- Gets a collection of all custom emotes for this guild.
-
-
- A read-only collection of all custom emotes for this guild.
-
-
-
-
- Gets a collection of all custom stickers for this guild.
-
-
- A read-only collection of all custom stickers for this guild.
-
-
-
-
- Gets the features for this guild.
-
-
- A flags enum containing all the features for the guild.
-
-
-
-
- Gets a collection of all roles in this guild.
-
-
- A read-only collection of roles found within this guild.
-
-
-
-
- Gets the tier of guild boosting in this guild.
-
-
- The tier of guild boosting in this guild.
-
-
-
-
- Gets the identifier for this guilds banner image.
-
-
- An identifier for the banner image; if none is set.
-
-
-
-
- Gets the URL of this guild's banner image.
-
-
- A URL pointing to the guild's banner image; if none is set.
-
-
-
-
- Gets the code for this guild's vanity invite URL.
-
-
- A string containing the vanity invite code for this guild; if none is set.
-
-
-
-
- Gets the flags for the types of system channel messages that are disabled.
-
-
- The flags for the types of system channel messages that are disabled.
-
-
-
-
- Gets the description for the guild.
-
-
- The description for the guild; if none is set.
-
-
-
-
- Gets the number of premium subscribers of this guild.
-
-
- This is the number of users who have boosted this guild.
-
-
- The number of premium subscribers of this guild; if not available.
-
-
-
-
- Gets the maximum number of presences for the guild.
-
-
- The maximum number of presences for the guild.
-
-
-
-
- Gets the maximum number of members for the guild.
-
-
- The maximum number of members for the guild.
-
-
-
-
- Gets the maximum amount of users in a video channel.
-
-
- The maximum amount of users in a video channel.
-
-
-
-
- Gets the maximum amount of users in a stage video channel.
-
-
- The maximum amount of users in a stage video channel.
-
-
-
-
- Gets the approximate number of members in this guild.
-
-
- Only available when getting a guild via REST when `with_counts` is true.
-
-
- The approximate number of members in this guild.
-
-
-
-
- Gets the approximate number of non-offline members in this guild.
-
-
- Only available when getting a guild via REST when `with_counts` is true.
-
-
- The approximate number of non-offline members in this guild.
-
-
-
-
- Gets the max bitrate for voice channels in this guild.
-
-
- A representing the maximum bitrate value allowed by Discord in this guild.
-
-
-
-
- Gets the preferred locale of this guild in IETF BCP 47
- language tag format.
-
-
- The preferred locale of the guild in IETF BCP 47
- language tag format.
-
-
-
-
- Gets the NSFW level of this guild.
-
-
- The NSFW level of this guild.
-
-
-
-
- Gets the preferred culture of this guild.
-
-
- The preferred culture information of this guild.
-
-
-
-
- Gets whether the guild has the boost progress bar enabled.
-
-
- if the boost progress bar is enabled; otherwise .
-
-
-
-
- Gets the upload limit in bytes for this guild. This number is dependent on the guild's boost status.
-
-
-
-
- Modifies this guild.
-
- The delegate containing the properties to modify the guild with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Modifies this guild's widget.
-
- The delegate containing the properties to modify the guild widget with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Bulk-modifies the order of channels in this guild.
-
- The properties used to modify the channel positions with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous reorder operation.
-
-
-
-
- Bulk-modifies the order of roles in this guild.
-
- The properties used to modify the role positions with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous reorder operation.
-
-
-
-
- Leaves this guild.
-
-
- This method will make the currently logged-in user leave the guild.
-
- If the user is the owner of this guild, use instead.
-
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous leave operation.
-
-
-
-
- Gets amount of bans from the guild ordered by user ID.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
-
- Do not fetch too many bans at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
-
- The amount of bans to get from the guild.
- The options to be used when sending the request.
-
- A paged collection of bans.
-
-
-
-
- Gets amount of bans from the guild starting at the provided ordered by user ID.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
-
- Do not fetch too many bans at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
-
- The ID of the user to start to get bans from.
- The direction of the bans to be gotten.
- The number of bans to get.
- The options to be used when sending the request.
-
- A paged collection of bans.
-
-
-
-
- Gets amount of bans from the guild starting at the provided ordered by user ID.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
-
- Do not fetch too many bans at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
-
- The user to start to get bans from.
- The direction of the bans to be gotten.
- The number of bans to get.
- The options to be used when sending the request.
-
- A paged collection of bans.
-
-
-
-
- Gets a ban object for a banned user.
-
- The banned user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a ban object, which
- contains the user information and the reason for the ban; if the ban entry cannot be found.
-
-
-
-
- Gets a ban object for a banned user.
-
- The snowflake identifier for the banned user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a ban object, which
- contains the user information and the reason for the ban; if the ban entry cannot be found.
-
-
-
-
- Bans the user from this guild and optionally prunes their recent messages.
-
- The user to ban.
- The number of days to remove messages from this user for, and this number must be between [0, 7].
- The reason of the ban to be written in the audit log.
- The options to be used when sending the request.
- is not between 0 to 7.
-
- A task that represents the asynchronous add operation for the ban.
-
-
-
-
- Bans the user from this guild and optionally prunes their recent messages.
-
- The snowflake ID of the user to ban.
- The number of days to remove messages from this user for, and this number must be between [0, 7].
- The reason of the ban to be written in the audit log.
- The options to be used when sending the request.
- is not between 0 to 7.
-
- A task that represents the asynchronous add operation for the ban.
-
-
-
-
- Unbans the user if they are currently banned.
-
- The user to be unbanned.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation for the ban.
-
-
-
-
- Unbans the user if they are currently banned.
-
- The snowflake identifier of the user to be unbanned.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation for the ban.
-
-
-
-
- Gets a collection of all channels in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- generic channels found within this guild.
-
-
-
-
- Gets a channel in this guild.
-
- The snowflake identifier for the channel.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the generic channel
- associated with the specified ; if none is found.
-
-
-
-
- Gets a collection of all text channels in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- message channels found within this guild.
-
-
-
-
- Gets a text channel in this guild.
-
- The snowflake identifier for the text channel.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel
- associated with the specified ; if none is found.
-
-
-
-
- Gets a collection of all voice channels in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- voice channels found within this guild.
-
-
-
-
- Gets a collection of all category channels in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- category channels found within this guild.
-
-
-
-
- Gets a voice channel in this guild.
-
- The snowflake identifier for the voice channel.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the voice channel associated
- with the specified ; if none is found.
-
-
-
-
- Gets a stage channel in this guild.
-
- The snowflake identifier for the stage channel.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the stage channel associated
- with the specified ; if none is found.
-
-
-
-
- Gets a collection of all stage channels in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- stage channels found within this guild.
-
-
-
-
- Gets the AFK voice channel in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the voice channel that the
- AFK users will be moved to after they have idled for too long; if none is set.
-
-
-
-
- Gets the system channel where randomized welcome messages are sent in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel where
- randomized welcome messages will be sent to; if none is set.
-
-
-
-
- Gets the first viewable text channel in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the first viewable text
- channel in this guild; if none is found.
-
-
-
-
- Gets the widget channel (i.e. the channel set in the guild's widget settings) in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the widget channel set
- within the server's widget settings; if none is set.
-
-
-
-
- Gets the text channel where Community guilds can display rules and/or guidelines.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel
- where Community guilds can display rules and/or guidelines; if none is set.
-
-
-
-
- Gets the text channel where admins and moderators of Community guilds receive notices from Discord.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel where
- admins and moderators of Community guilds receive notices from Discord; if none is set.
-
-
-
-
- Gets a thread channel within this guild.
-
- The id of the thread channel.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the thread channel.
-
-
-
-
- Gets a collection of all thread channels in this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- thread channels found within this guild.
-
-
-
-
- Creates a new text channel in this guild.
-
-
- The following example creates a new text channel under an existing category named Wumpus with a set topic.
-
-
- The new name for the text channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- text channel.
-
-
-
-
- Creates a new voice channel in this guild.
-
- The new name for the voice channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- voice channel.
-
-
-
-
- Creates a new stage channel in this guild.
-
- The new name for the stage channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- stage channel.
-
-
-
-
- Creates a new channel category in this guild.
-
- The new name for the category.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- category channel.
-
-
-
-
- Creates a new channel forum in this guild.
-
- The new name for the forum.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- forum channel.
-
-
-
-
- Gets a collection of all the voice regions this guild can access.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- voice regions the guild can access.
-
-
-
-
- Gets a collection of all the integrations this guild contains.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- integrations the guild can has.
-
-
-
-
- Deletes an integration.
-
- The id for the integration.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Gets a collection of all invites in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- invite metadata, each representing information for an invite found within this guild.
-
-
-
-
- Gets the vanity invite URL of this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the partial metadata of
- the vanity invite found within this guild; if none is found.
-
-
-
-
- Gets a role in this guild.
-
- The snowflake identifier for the role.
-
- A role that is associated with the specified ; if none is found.
-
-
-
-
- Creates a new role with the provided name.
-
- The new name for the role.
- The guild permission that the role should possess.
- The color of the role.
- Whether the role is separated from others on the sidebar.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- role.
-
-
-
-
- Creates a new role with the provided name.
-
- The new name for the role.
- The guild permission that the role should possess.
- The color of the role.
- Whether the role is separated from others on the sidebar.
- Whether the role can be mentioned.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- role.
-
-
-
-
- Adds a user to this guild.
-
-
- This method requires you have an OAuth2 access token for the user, requested with the guilds.join scope, and that the bot have the MANAGE_INVITES permission in the guild.
-
- The snowflake identifier of the user.
- The OAuth2 access token for the user, requested with the guilds.join scope.
- The delegate containing the properties to be applied to the user upon being added to the guild.
- The options to be used when sending the request.
- A guild user associated with the specified ; if the user is already in the guild.
-
-
-
- Disconnects the user from its current voice channel.
-
- The user to disconnect.
- A task that represents the asynchronous operation for disconnecting a user.
-
-
-
- Gets a collection of all users in this guild.
-
-
- This method retrieves all users found within this guild.
-
- This may return an incomplete collection in the WebSocket implementation due to how Discord does not
- send a complete user list for large guilds.
-
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a collection of guild
- users found within this guild.
-
-
-
-
- Gets a user from this guild.
-
-
- This method retrieves a user found within this guild.
-
- This may return in the WebSocket implementation due to incomplete user collection in
- large guilds.
-
-
- The snowflake identifier of the user.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the guild user
- associated with the specified ; if none is found.
-
-
-
-
- Gets the current user for this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the currently logged-in
- user within this guild.
-
-
-
-
- Gets the owner of this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the owner of this guild.
-
-
-
-
- Downloads all users for this guild if the current list is incomplete.
-
-
- This method downloads all users found within this guild through the Gateway and caches them.
-
-
- A task that represents the asynchronous download operation.
-
-
-
-
- Prunes inactive users.
-
-
-
- This method removes all users that have not logged on in the provided number of .
-
-
- If is , this method will only return the number of users that
- would be removed without kicking the users.
-
-
- The number of days required for the users to be kicked.
- Whether this prune action is a simulation.
- The options to be used when sending the request.
- An array of role IDs to be included in the prune of users who do not have any additional roles.
-
- A task that represents the asynchronous prune operation. The task result contains the number of users to
- be or has been removed from this guild.
-
-
-
-
- Gets a collection of users in this guild that the name or nickname starts with the
- provided at .
-
-
- The can not be higher than .
-
- The partial name or nickname to search.
- The maximum number of users to be gotten.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a collection of guild
- users that the name or nickname starts with the provided at .
-
-
-
-
- Gets the specified number of audit log entries for this guild.
-
- The number of audit log entries to fetch.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
- The audit log entry ID to get entries before.
- The type of actions to filter.
- The user ID to filter entries for.
- The audit log entry ID to get entries after.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of the requested audit log entries.
-
-
-
-
- Gets a webhook found within this guild.
-
- The identifier for the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the webhook with the
- specified ; if none is found.
-
-
-
-
- Gets a collection of all webhook from this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of webhooks found within the guild.
-
-
-
-
- Gets a collection of emotes from this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of emotes found within the guild.
-
-
-
-
- Gets a specific emote from this guild.
-
- The snowflake identifier for the guild emote.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the emote found with the
- specified ; if none is found.
-
-
-
-
- Creates a new in this guild.
-
- The name of the guild emote.
- The image of the new emote.
- The roles to limit the emote usage to.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created emote.
-
-
-
-
- Modifies an existing in this guild.
-
- The emote to be modified.
- The delegate containing the properties to modify the emote with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation. The task result contains the modified
- emote.
-
-
-
-
- Moves the user to the voice channel.
-
- The user to move.
- the channel where the user gets moved to.
- A task that represents the asynchronous operation for moving a user.
-
-
-
- Deletes an existing from this guild.
-
- The emote to delete.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Creates a new sticker in this guild.
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The image of the new emote.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Creates a new sticker in this guild.
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The path of the file to upload.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Creates a new sticker in this guild.
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The stream containing the file data.
- The name of the file with the extension, ex: image.png.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Gets a specific sticker within this guild.
-
- The id of the sticker to get.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the sticker found with the
- specified ; if none is found.
-
-
-
-
- Gets a collection of all stickers within this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of stickers found within the guild.
-
-
-
-
- Deletes a sticker within this guild.
-
- The sticker to delete.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Gets a event within this guild.
-
- The id of the event.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation.
-
-
-
-
- Gets a collection of events within this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation.
-
-
-
-
- Creates an event within this guild.
-
- The name of the event.
- The privacy level of the event.
- The start time of the event.
- The type of the event.
- The description of the event.
- The end time of the event.
-
- The channel id of the event.
-
- The event must have a type of or
- in order to use this property.
-
-
- The location of the event; links are supported
- The optional banner image for the event.
- The options to be used when sending the request.
-
- A task that represents the asynchronous create operation.
-
-
-
-
- Gets this guilds application commands.
-
-
- Whether to include full localization dictionaries in the returned objects,
- instead of the localized name and description fields.
-
- The target locale of the localized name and description fields. Sets the X-Discord-Locale header, which takes precedence over Accept-Language.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of application commands found within the guild.
-
-
-
-
- Gets an application command within this guild with the specified id.
-
- The id of the application command to get.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A ValueTask that represents the asynchronous get operation. The task result contains a
- if found, otherwise .
-
-
-
-
- Creates an application command within this guild.
-
- The properties to use when creating the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the command that was created.
-
-
-
-
- Overwrites the application commands within this guild.
-
- A collection of properties to use when creating the commands.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains a collection of commands that was created.
-
-
-
-
- Gets the welcome screen of the guild. Returns if the welcome channel is not set.
-
-
- A task that represents the asynchronous creation operation. The task result contains a .
-
-
-
-
- Modifies the welcome screen of the guild. Returns if welcome screen is removed.
-
-
- A task that represents the asynchronous creation operation. The task result contains a .
-
-
-
-
- Get a list of all rules currently configured for the guild.
-
-
- A task that represents the asynchronous creation operation. The task result contains a collection of .
-
-
-
-
- Gets a single rule configured in a guild. Returns if the rule was not found.
-
-
- A task that represents the asynchronous creation operation. The task result contains a .
-
-
-
-
- Creates a new auto moderation rule.
-
-
- A task that represents the asynchronous creation operation. The task result contains the created .
-
-
-
-
- Gets the onboarding object configured for the guild.
-
-
- A task that represents the asynchronous creation operation. The task result contains the created .
-
-
-
-
- Modifies the onboarding object configured for the guild.
-
-
- A task that represents the asynchronous creation operation. The task result contains the modified .
-
-
-
-
- Represents a generic guild scheduled event.
-
-
-
-
- Gets the guild this event is scheduled in.
-
-
-
-
- Gets the id of the guild this event is scheduled in.
-
-
-
-
- Gets the optional channel id where this event will be hosted.
-
-
-
-
- Gets the user who created the event.
-
-
-
-
- Gets the name of the event.
-
-
-
-
- Gets the description of the event.
-
-
- This field is when the event doesn't have a description.
-
-
-
-
- Gets the banner asset id of the event.
-
-
-
-
- Gets the start time of the event.
-
-
-
-
- Gets the optional end time of the event.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the event.
-
-
-
-
- Gets the optional entity id of the event. The "entity" of the event
- can be a stage instance event as is separate from .
-
-
-
-
- Gets the location of the event if the is external.
-
-
-
-
- Gets the user count of the event.
-
-
-
-
- Gets this events banner image url.
-
- The format to return.
- The size of the image to return in. This can be any power of two between 16 and 2048.
- The cover images url.
-
-
-
- Starts the event.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous start operation.
-
-
-
-
- Ends or cancels the event.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous end operation.
-
-
-
-
- Modifies the guild event.
-
- The delegate containing the properties to modify the event with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Deletes the current event.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous delete operation.
-
-
-
-
- Gets a collection of N users interested in the event.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
- This method will attempt to fetch all users that are interested in the event.
- The library will attempt to split up the requests according to and .
- In other words, if there are 300 users, and the constant
- is 100, the request will be split into 3 individual requests; thus returning 3 individual asynchronous
- responses, hence the need of flattening.
-
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Gets a collection of N users interested in the event.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual users as a
- collection.
-
-
- Do not fetch too many users at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of users specified under around
- the user depending on the . The library will
- attempt to split up the requests according to your and
- . In other words, should the user request 500 users,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
- The ID of the starting user to get the users from.
- The direction of the users to be gotten from.
- The numbers of users to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Gets the name of this guild.
-
-
-
-
- Gets the icon URL associated with this guild, or if one is not set.
-
-
-
-
- Returns if the current user owns this guild.
-
-
-
-
- Returns the current user's permissions for this guild.
-
-
-
-
- Gets the features for this guild.
-
-
- A flags enum containing all the features for the guild.
-
-
-
-
- Gets the approximate number of members in this guild.
-
-
- Only available when getting a guild via REST when `with_counts` is true.
-
-
-
-
- Gets the approximate number of non-offline members in this guild.
-
-
- Only available when getting a guild via REST when `with_counts` is true.
-
-
-
-
- Represents a region of which the user connects to when using voice.
-
-
-
-
- Gets the unique identifier for this voice region.
-
-
- A string that represents the identifier for this voice region (e.g. eu-central).
-
-
-
-
- Gets the name of this voice region.
-
-
- A string that represents the human-readable name of this voice region (e.g. Central Europe).
-
-
-
-
- Gets a value that indicates whether or not this voice region is exclusive to partnered servers.
-
-
- if this voice region is exclusive to VIP accounts; otherwise .
-
-
-
-
- Gets a value that indicates whether this voice region is optimal for your client in terms of latency.
-
-
- if this voice region is the closest to your machine; otherwise .
-
-
-
-
- Gets a value that indicates whether this voice region is no longer being maintained.
-
-
- if this is a deprecated voice region; otherwise .
-
-
-
-
- Gets a value that indicates whether this voice region is custom-made for events.
-
-
- if this is a custom voice region (used for events/etc); otherwise /
-
-
-
-
- Specifies the guild's Multi-Factor Authentication (MFA) level requirement.
-
-
-
-
- Users have no additional MFA restriction on this guild.
-
-
-
-
- Users must have MFA enabled on their account to perform administrative actions.
-
-
-
-
- Default or unset.
-
-
-
-
- Guild has extremely suggestive or mature content that would only be suitable for users 18 or over.
-
-
-
-
- Guild has no content that could be deemed NSFW; in other words, SFW.
-
-
-
-
- Guild has mildly NSFW content that may not be suitable for users under 18.
-
-
-
-
- Defines the criteria used to satisfy Onboarding constraints that are required for enabling.
-
-
-
-
- Counts only Default Channels towards constraints.
-
-
-
-
- Counts Default Channels and Questions towards constraints.
-
-
-
-
- Represents properties used to create or modify guild onboarding prompt option.
-
-
-
-
- Gets or sets the Id of the prompt option. If the value is a new prompt will be created.
- The existing one will be updated otherwise.
-
-
-
-
- Gets or set IDs for channels a member is added to when the option is selected.
-
-
-
-
- Gets or sets IDs for roles assigned to a member when the option is selected.
-
-
-
-
- Gets or sets the emoji of the option.
-
-
-
-
- Gets or sets the title of the option.
-
-
-
-
- Gets or sets the description of the option.
-
-
-
-
- Represents properties used to create or modify guild onboarding prompt.
-
-
-
-
- Gets or sets the Id of the prompt. If the value is a new prompt will be created.
- The existing one will be updated otherwise.
-
-
-
-
- Gets or sets options available within the prompt.
-
-
-
-
- Gets or sets the title of the prompt.
-
-
-
-
- Gets or sets whether users are limited to selecting one option for the prompt.
-
-
-
-
- Gets or sets whether the prompt is required before a user completes the onboarding flow.
-
-
-
-
- Gets or sets whether the prompt is present in the onboarding flow.
-
-
-
-
- Gets or set the type of the prompt.
-
-
-
-
- Represents the guild onboarding option type.
-
-
-
-
- The prompt accepts multiple choices.
-
-
-
-
- The prompt uses a dropdown menu.
-
-
-
-
- Represents properties used to create or modify guild onboarding.
-
-
-
-
- Gets or sets prompts shown during onboarding and in customize community.
-
-
-
-
- Gets or sets channel IDs that members get opted into automatically.
-
-
-
-
- Gets or sets whether onboarding is enabled in the guild.
-
-
-
-
- Gets or sets current mode of onboarding.
-
-
-
-
- Represents the guild onboarding flow.
-
-
-
-
- Gets the ID of the guild this onboarding is part of.
-
-
-
-
- Gets the guild this onboarding is part of.
-
-
-
-
- Gets prompts shown during onboarding and in customize community.
-
-
-
-
- Gets IDs of channels that members get opted into automatically.
-
-
-
-
- Gets whether onboarding is enabled in the guild.
-
-
-
-
- Gets the current mode of onboarding.
-
-
-
-
- Gets whether the server does not meet requirements to enable guild onboarding.
-
-
-
-
- Modifies the onboarding object.
-
-
-
-
- Represents the guild onboarding prompt.
-
-
-
-
- Gets options available within the prompt.
-
-
-
-
- Gets the title of the prompt.
-
-
-
-
- Indicates whether users are limited to selecting one option for the prompt.
-
-
-
-
- Indicates whether the prompt is required before a user completes the onboarding flow.
-
-
-
-
- Indicates whether the prompt is present in the onboarding flow.
- If , the prompt will only appear in the Channels and Roles tab.
-
-
-
-
- Gets the type of the prompt.
-
-
-
-
- Represents the guild onboarding prompt option.
-
-
-
-
- Gets IDs of channels a member is added to when the option is selected.
-
-
-
-
- Gets IDs of roles assigned to a member when the option is selected.
-
-
-
-
- Gets the emoji of the option. if none is set.
-
-
-
-
- Gets the title of the option.
-
-
-
-
- Gets the description of the option. if none is set.
-
-
-
-
- Represents a partial guild object.
-
-
- Most of the fields can have value.
-
-
-
-
-
-
-
-
-
-
- Gets the name of this guild.
-
-
- A string containing the name of this guild.
-
-
-
-
- Gets the description for the guild.
-
-
- The description for the guild; if none is set.
-
-
-
-
- Gets the ID of this guild's splash image.
-
-
- An identifier for the splash image; if none is set.
-
-
-
-
- Gets the URL of this guild's splash image.
-
-
- A URL pointing to the guild's splash image; if none is set.
-
-
-
-
- Gets the identifier for this guilds banner image.
-
-
- An identifier for the banner image; if none is set.
-
-
-
-
- Gets the URL of this guild's banner image.
-
-
- A URL pointing to the guild's banner image; if none is set.
-
-
-
-
- Gets the features for this guild.
-
-
- A flags enum containing all the features for the guild.
-
-
-
-
- Gets the ID of this guild's icon.
-
-
- An identifier for the splash image; if none is set.
-
-
-
-
- Gets the URL of this guild's icon.
-
-
- A URL pointing to the guild's icon; if none is set.
-
-
-
-
-
- Gets the level of requirements a user must fulfill before being allowed to post messages in this guild.
-
-
- The level of requirements. if none is was returned.
-
-
-
-
- Gets the code for this guild's vanity invite URL.
-
-
- A string containing the vanity invite code for this guild; if none is set.
-
-
-
-
- Gets the number of premium subscribers of this guild.
-
-
- This is the number of users who have boosted this guild.
-
-
- The number of premium subscribers of this guild; if none was returned.
-
-
-
-
- Gets the NSFW level of this guild.
-
-
- The NSFW level of this guild. if none was returned.
-
-
-
-
- Gets the Welcome Screen of this guild
-
-
- The welcome screen of this guild. if none is set.
-
-
-
-
- Gets the approximate member count in the guild. if none was returned.
-
-
-
-
- Gets the approximate presence count in the guild. if none was returned.
-
-
-
-
- Specifies the target of the permission.
-
-
-
-
- The target of the permission is a role.
-
-
-
-
- The target of the permission is a user.
-
-
-
-
- Used for guilds that have no guild boosts.
-
-
-
-
- Used for guilds that have Tier 1 guild boosts.
-
-
-
-
- Used for guilds that have Tier 2 guild boosts.
-
-
-
-
- Used for guilds that have Tier 3 guild boosts.
-
-
-
-
- Deny none of the system channel messages.
- This will enable all of the system channel messages.
-
-
-
-
- Deny the messages that are sent when a user joins the guild.
-
-
-
-
- Deny the messages that are sent when a user boosts the guild.
-
-
-
-
- Deny the messages that are related to guild setup.
-
-
-
-
- Deny the reply with sticker button on welcome messages.
-
-
-
-
- Deny role subscription purchase and renewal notifications in the guild.
-
-
-
-
- Hide role subscription sticker reply buttons in the guild.
-
-
-
-
- Specifies the verification level the guild uses.
-
-
-
-
- Users have no additional restrictions on sending messages to this guild.
-
-
-
-
- Users must have a verified email on their account.
-
-
-
-
- Users must fulfill the requirements of Low and be registered on Discord for at least 5 minutes.
-
-
-
-
- Users must fulfill the requirements of Medium and be a member of this guild for at least 10 minutes.
-
-
-
-
- Users must fulfill the requirements of High and must have a verified phone on their Discord account.
-
-
-
-
- Gets the server description shown in the welcome screen. if not set.
-
-
-
-
- Gets the channels shown in the welcome screen, up to 5 channels.
-
-
-
-
- Gets the channel's id.
-
-
-
-
- Gets the description shown for the channel.
-
-
-
-
- Gets the emoji for this channel. if it is unicode emoji, if it is a custom one and if none is set.
-
-
- If the emoji is only the will be populated.
- Use to get the emoji.
-
-
-
-
-
-
-
- Gets or sets the channel's id.
-
-
-
-
- Gets or sets the description shown for the channel.
-
-
-
-
- Gets or sets the emoji for this channel. if it is unicode emoji, if it is a custom one and if none is set.
-
-
- If the emoji is only the will be populated.
- Use to get the emoji.
-
-
-
-
-
-
-
- Initializes a new instance of .
-
- Id if a channel.
- Description for the channel in the welcome screen.
- The emoji for the channel in the welcome screen.
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- A welcome screen channel to modify.
- A new instance of .
-
-
-
- Determines whether the object is deletable or not.
-
-
-
-
- Deletes this object and all its children.
-
- The options to be used when sending the request.
-
-
-
- Gets the unique identifier for this object.
-
-
-
-
- An image that will be uploaded to Discord.
-
-
-
-
- Gets the stream to be uploaded to Discord.
-
-
-
-
- Create the image with a .
-
-
- The to create the image with. Note that this must be some type of stream
- with the contents of a file in it.
-
-
-
-
- Create the image from a file path.
-
-
- This file path is NOT validated and is passed directly into a
- .
-
- The path to the file.
-
- is a zero-length string, contains only white space, or contains one or more invalid
- characters as defined by .
-
- is .
-
- The specified path, file name, or both exceed the system-defined maximum length. For example, on
- Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260
- characters.
-
- is in an invalid format.
-
- The specified is invalid, (for example, it is on an unmapped drive).
-
-
- specified a directory.-or- The caller does not have the required permission.
-
- The file specified in was not found.
-
- An I/O error occurred while opening the file.
-
-
-
-
-
-
- Specifies the type of format the image should return in.
-
-
-
-
- Use automatically detected format.
-
-
-
-
- Use Google's WebP image format.
-
-
-
-
- Use PNG.
-
-
-
-
- Use JPEG.
-
-
-
-
- Use GIF.
-
-
-
-
- Determines whether the object is mentionable or not.
-
-
-
-
- Returns a special string used to mention this object.
-
-
- A string that is recognized by Discord as a mention (e.g. <@168693960628371456>).
-
-
-
-
- Holds information for an integration feature.
- Nullable fields not provided for Discord bot integrations, but are for Twitch etc.
-
-
-
-
- Gets the integration ID.
-
-
- A representing the unique identifier value of this integration.
-
-
-
-
- Gets the integration name.
-
-
- A string containing the name of this integration.
-
-
-
-
- Gets the integration type (Twitch, YouTube, etc).
-
-
- A string containing the name of the type of integration.
-
-
-
-
- Gets a value that indicates whether this integration is enabled or not.
-
-
- if this integration is enabled; otherwise .
-
-
-
-
- Gets a value that indicates whether this integration is syncing or not.
-
-
- An integration with syncing enabled will update its "subscribers" on an interval, while one with syncing
- disabled will not. A user must manually choose when sync the integration if syncing is disabled.
-
-
- if this integration is syncing; otherwise .
-
-
-
-
- Gets the ID that this integration uses for "subscribers".
-
-
-
-
- Gets whether emoticons should be synced for this integration (twitch only currently).
-
-
-
-
- Gets the behavior of expiring subscribers.
-
-
-
-
- Gets the grace period before expiring "subscribers".
-
-
-
-
- Gets the user for this integration.
-
-
-
-
- Gets integration account information.
-
-
-
-
- Gets when this integration was last synced.
-
-
- A containing a date and time of day when the integration was last synced.
-
-
-
-
- Gets how many subscribers this integration has.
-
-
-
-
- Gets whether this integration been revoked.
-
-
-
-
- Gets the bot/OAuth2 application for a discord integration.
-
-
-
-
- Provides the account information for an .
-
-
-
-
- Gets the ID of the account.
-
-
- A unique identifier of this integration account.
-
-
-
-
- Gets the name of the account.
-
-
- A string containing the name of this integration account.
-
-
-
-
- Provides the bot/OAuth2 application for an .
-
-
-
-
- Gets the id of the app.
-
-
-
-
- Gets the name of the app.
-
-
-
-
- Gets the icon hash of the app.
-
-
-
-
- Gets the description of the app.
-
-
-
-
- Gets the summary of the app.
-
-
-
-
- Gets the bot associated with this application.
-
-
-
-
- The behavior of expiring subscribers for an .
-
-
-
-
- Removes a role from an expired subscriber.
-
-
-
-
- Kicks an expired subscriber from the guild.
-
-
-
-
- Represents a for making slash commands.
-
-
-
-
- Gets or sets the name of this option.
-
-
-
-
- Gets or sets the description of this option.
-
-
-
-
- Gets or sets the type of this option.
-
-
-
-
- Gets or sets whether or not this options is the first required option for the user to complete. only one option can be default.
-
-
-
-
- Gets or sets if the option is required.
-
-
-
-
- Gets or sets whether or not this option supports autocomplete.
-
-
-
-
- Gets or sets the smallest number value the user can input.
-
-
-
-
- Gets or sets the largest number value the user can input.
-
-
-
-
- Gets or sets the minimum allowed length for a string input.
-
-
-
-
- Gets or sets the maximum allowed length for a string input.
-
-
-
-
- Gets or sets the choices for string and int types for the user to pick from.
-
-
-
-
- Gets or sets if this option is a subcommand or subcommand group type, these nested options will be the parameters.
-
-
-
-
- Gets or sets the allowed channel types for this option.
-
-
-
-
- Gets or sets the localization dictionary for the name field of this option.
-
- Thrown when any of the dictionary keys is an invalid locale.
-
-
-
- Gets or sets the localization dictionary for the description field of this option.
-
- Thrown when any of the dictionary keys is an invalid locale.
-
-
-
- Represents a choice for a . This class is used when making new commands.
-
-
-
-
- Gets or sets the name of this choice.
-
-
-
-
- Gets the value of this choice.
-
- Discord only accepts int, double/floats, and string as the input.
-
-
-
-
-
- Gets or sets the localization dictionary for the name field of this choice.
-
- Thrown when any of the dictionary keys is an invalid locale.
-
-
-
- The option type of the Slash command parameter, See the discord docs.
-
-
-
-
- A sub command.
-
-
-
-
- A group of sub commands.
-
-
-
-
- A of text.
-
-
-
-
- An .
-
-
-
-
- A .
-
-
-
-
- A .
-
-
-
-
- A .
-
-
-
-
- A .
-
-
-
-
- A or .
-
-
-
-
- A .
-
-
-
-
- A .
-
-
-
-
- Represents the base class to create/modify application commands.
-
-
-
-
- Gets or sets the name of this command.
-
-
-
-
- Gets or sets whether the command is enabled by default when the app is added to a guild. Default is
-
-
-
-
- Gets or sets the localization dictionary for the name field of this command.
-
-
-
-
- Gets or sets the localization dictionary for the description field of this command.
-
-
-
-
- Gets or sets whether or not this command can be used in DMs.
-
-
-
-
- Gets or sets whether or not this command is age restricted.
-
-
-
-
- Gets or sets the default permissions required by a user to execute this application command.
-
-
-
-
- Represents the types of application commands.
-
-
-
-
- A Slash command type
-
-
-
-
- A Context Menu User command type
-
-
-
-
- A Context Menu Message command type
-
-
-
-
- Represents an autocomplete option.
-
-
-
-
- Gets the type of this option.
-
-
-
-
- Gets the name of the option.
-
-
-
-
- Gets the value of the option.
-
-
-
-
- Gets whether or not this option is focused by the executing user.
-
-
-
-
- Represents a result to an autocomplete interaction.
-
-
-
-
- Gets or sets the name of the result.
-
-
- Name cannot be null and has to be between 1-100 characters in length.
-
-
-
-
-
-
- Gets or sets the value of the result.
-
-
- Only , , and are allowed for a value.
-
-
-
-
-
-
- Creates a new .
-
-
-
-
- Creates a new with the passed in and .
-
-
-
-
-
-
- Represents a Message Command interaction.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
- Represents the data tied with the interaction.
-
-
-
-
- Gets the message associated with this message command.
-
-
-
-
- Represents a User Command interaction.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
- Represents the data tied with the interaction.
-
-
-
-
- Gets the user who this command targets.
-
-
-
-
- A class used to build Message commands.
-
-
-
-
- Returns the maximum length a commands name allowed by Discord
-
-
-
-
- Gets or sets the name of this Message command.
-
-
-
-
- Gets or sets whether the command is enabled by default when the app is added to a guild
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets or sets whether or not this command can be used in DMs.
-
-
-
-
- Gets or sets whether or not this command is age restricted.
-
-
-
-
- Gets or sets the default permission required to use this slash command.
-
-
-
-
- Build the current builder into a class.
-
-
- A that can be used to create message commands.
-
-
-
-
- Sets the field name.
-
- The value to set the field name to.
-
- The current builder.
-
-
-
-
- Sets the default permission of the current command.
-
- The default permission value to set.
- The current builder.
-
-
-
- Sets the collection.
-
- The localization dictionary to use for the name field of this command.
-
- Thrown if is null.
- Thrown if any dictionary key is an invalid locale string.
-
-
-
- Sets whether or not this command can be used in dms.
-
- if the command is available in dms, otherwise .
- The current builder.
-
-
-
- Sets whether or not this command is age restricted.
-
- if the command is age restricted, otherwise .
- The current builder.
-
-
-
- Adds a new entry to the collection.
-
- Locale of the entry.
- Localized string for the name field.
- The current builder.
- Thrown if is an invalid locale string.
-
-
-
- Sets the default member permissions required to use this application command.
-
- The permissions required to use this command.
- The current builder.
-
-
-
- A class used to create message commands.
-
-
-
-
- A class used to build user commands.
-
-
-
-
- Returns the maximum length a commands name allowed by Discord.
-
-
-
-
- Gets or sets the name of this User command.
-
-
-
-
- Gets or sets whether the command is enabled by default when the app is added to a guild.
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets or sets whether or not this command can be used in DMs.
-
-
-
-
- Gets or sets whether or not this command is age restricted.
-
-
-
-
- Gets or sets the default permission required to use this slash command.
-
-
-
-
- Build the current builder into a class.
-
- A that can be used to create user commands.
-
-
-
- Sets the field name.
-
- The value to set the field name to.
-
- The current builder.
-
-
-
-
- Sets the default permission of the current command.
-
- The default permission value to set.
- The current builder.
-
-
-
- Sets the collection.
-
- The localization dictionary to use for the name field of this command.
- The current builder.
- Thrown if is null.
- Thrown if any dictionary key is an invalid locale string.
-
-
-
- Sets whether or not this command can be used in dms.
-
- if the command is available in dms, otherwise .
- The current builder.
-
-
-
- Sets whether or not this command is age restricted.
-
- if the command is age restricted, otherwise .
- The current builder.
-
-
-
- Adds a new entry to the collection.
-
- Locale of the entry.
- Localized string for the name field.
- The current builder.
- Thrown if is an invalid locale string.
-
-
-
- Sets the default member permissions required to use this application command.
-
- The permissions required to use this command.
- The current builder.
-
-
-
- A class used to create User commands.
-
-
-
-
- The base command model that belongs to an application.
-
-
-
-
- Gets the unique id of the parent application.
-
-
-
-
- Gets the type of the command.
-
-
-
-
- Gets the name of the command.
-
-
-
-
- Gets the description of the command.
-
-
-
-
- Gets whether the command is enabled by default when the app is added to a guild.
-
-
-
-
- Indicates whether the command is available in DMs with the app.
-
-
- Only for globally-scoped commands.
-
-
-
-
- Indicates whether the command is age restricted.
-
-
-
-
- Set of default required to invoke the command.
-
-
-
-
- Gets a collection of options for this application command.
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets the localization dictionary for the description field of this command.
-
-
-
-
- Gets the localized name of this command.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Gets the localized description of this command.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Modifies the current application command.
-
- The new properties to use when modifying the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Modifies the current application command.
-
- The new properties to use when modifying the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
- Thrown when you pass in an invalid type.
-
-
-
- Represents an application command interaction.
-
-
-
-
- Gets the data of the application command interaction
-
-
-
-
- Represents data of an Interaction Command, see .
-
-
-
-
- Gets the snowflake id of this command.
-
-
-
-
- Gets the name of this command.
-
-
-
-
- Gets the options that the user has provided.
-
-
-
-
- Represents a option group for a command.
-
-
-
-
- Gets the name of the parameter.
-
-
-
-
- Gets the value of the pair.
-
- This objects type can be any one of the option types in .
-
-
-
-
-
- Gets the type of this data's option.
-
-
-
-
- Gets the nested options of this option.
-
-
-
-
- Options for the .
-
-
-
-
- Gets the type of this .
-
-
-
-
- Gets the name of this command option.
-
-
-
-
- Gets the description of this command option.
-
-
-
-
- Gets whether or not this is the first required option for the user to complete.
-
-
-
-
- Gets whether or not the parameter is required or optional.
-
-
-
-
- Gets whether or not the option has autocomplete enabled.
-
-
-
-
- Gets the smallest number value the user can input.
-
-
-
-
- Gets the largest number value the user can input.
-
-
-
-
- Gets the minimum allowed length for a string input.
-
-
-
-
- Gets the maximum allowed length for a string input.
-
-
-
-
- Gets the choices for string and int types for the user to pick from.
-
-
-
-
- Gets the sub-options for this command option.
-
-
-
-
- Gets the allowed channel types for this option.
-
-
-
-
- Gets the localization dictionary for the name field of this command option.
-
-
-
-
- Gets the localization dictionary for the description field of this command option.
-
-
-
-
- Gets the localized name of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Gets the localized description of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to true when requesting the command.
-
-
-
-
- Specifies choices for command group.
-
-
-
-
- Gets the choice name.
-
-
-
-
- Gets the value of the choice.
-
-
-
-
- Gets the localization dictionary for the name field of this command option.
-
-
-
-
- Gets the localized name of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Represents a discord interaction.
-
-
-
-
- Gets the id of the interaction.
-
-
-
-
- Gets the type of this .
-
-
-
-
- Gets the data sent within this interaction.
-
-
-
-
- Gets the continuation token for responding to the interaction.
-
-
-
-
- Gets the version of the interaction, always 1.
-
-
-
-
- Gets whether or not this interaction has been responded to.
-
-
- This property is locally set -- if you're running multiple bots
- off the same token then this property won't be in sync with them.
-
-
-
-
- Gets the user who invoked the interaction.
-
-
-
-
- Gets the preferred locale of the invoking User.
-
-
- This property returns if the interaction is a REST ping interaction.
-
-
-
-
- Gets the preferred locale of the guild this interaction was executed in. if not executed in a guild.
-
-
- Non-community guilds (With no locale setting available) will have en-US as the default value sent by Discord.
-
-
-
-
- Gets whether or not this interaction was executed in a dm channel.
-
-
-
-
- Gets the ID of the channel this interaction was executed in.
-
-
- This property returns if the interaction is a REST ping interaction.
-
-
-
-
- Gets the ID of the guild this interaction was executed in.
-
-
- This property returns if the interaction was not executed in a guild.
-
-
-
-
- Gets the ID of the application this interaction is for.
-
-
-
-
- Responds to an Interaction with type .
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A task that represents an asynchronous send operation for delivering the message.
-
-
-
-
- Responds to this interaction with a file attachment.
-
- The file to upload.
- The file name of the attachment.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Responds to this interaction with a file attachment.
-
- The file to upload.
- The file name of the attachment.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Responds to this interaction with a file attachment.
-
- The attachment containing the file and description.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Responds to this interaction with a collection of file attachments.
-
- A collection of attachments to upload.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The file to upload.
- The file name of the attachment.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The file to upload.
- The file name of the attachment.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The attachment containing the file and description.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- A collection of attachments to upload.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Gets the original response for this interaction.
-
- The request options for this request.
- A that represents the initial response.
-
-
-
- Edits original response for this interaction.
-
- A delegate containing the properties to modify the message with.
- The request options for this request.
-
- A task that represents an asynchronous modification operation. The task result
- contains the updated message.
-
-
-
-
- Deletes the original response to this interaction.
-
- The request options for this request.
-
- A task that represents an asynchronous deletion operation.
-
-
-
-
- Acknowledges this interaction.
-
-
- A task that represents the asynchronous operation of deferring the interaction.
-
-
-
-
- Responds to the interaction with a modal.
-
- The modal to respond with.
- The request options for this request.
- A task that represents the asynchronous operation of responding to the interaction.
-
-
-
- Represents an interface used to specify classes that they are a valid data type of a class.
-
-
-
-
- The response type for an .
-
-
- After receiving an interaction, you must respond to acknowledge it. You can choose to respond with a message immediately using
- or you can choose to send a deferred response with . If choosing a deferred response, the user will see a loading state for the interaction,
- and you'll have up to 15 minutes to edit the original deferred response using Edit Original Interaction Response.
- You can read more about Response types Here.
-
-
-
-
- ACK a Ping.
-
-
-
-
- Respond to an interaction with a message.
-
-
-
-
- ACK an interaction and edit a response later, the user sees a loading state.
-
-
-
-
- For components: ACK an interaction and edit the original message later; the user does not see a loading state.
-
-
-
-
- For components: edit the message the component was attached to.
-
-
-
-
- Respond with a set of choices to a autocomplete interaction.
-
-
-
-
- Respond by showing the user a modal.
-
-
-
-
- Represents a type of Interaction from discord.
-
-
-
-
- A ping from discord.
-
-
-
-
- A sent from discord.
-
-
-
-
- A sent from discord.
-
-
-
-
- An autocomplete request sent from discord.
-
-
-
-
- A modal sent from discord.
-
-
-
-
- Represents a Row for child components to live in.
-
-
-
-
-
-
-
- Gets the child components in this row.
-
-
-
-
- Represents a Button.
-
-
-
-
-
-
-
- Gets the of this button, example buttons with each style can be found Here.
-
-
-
-
- Gets the label of the button, this is the text that is shown.
-
-
-
-
- Gets the displayed with this button.
-
-
-
-
-
-
-
- Gets the URL for a button.
-
-
- You cannot have a button with a URL and a CustomId.
-
-
-
-
- Gets whether this button is disabled or not.
-
-
-
-
- Turns this button into a button builder.
-
-
- A newly created button builder with the same properties as this button.
-
-
-
-
- Represents different styles to use with buttons. You can see an example of the different styles at
-
-
-
-
- A Blurple button
-
-
-
-
- A Grey (or gray) button
-
-
-
-
- A Green button
-
-
-
-
- A Red button
-
-
-
-
- A button with a little popup box indicating that this button is a link.
-
-
-
-
- Represents a builder for creating a .
-
-
-
-
- The max length of a .
-
-
-
-
- The max amount of rows a message can have.
-
-
-
-
- Gets or sets the Action Rows for this Component Builder.
-
- cannot be null.
- count exceeds .
-
-
-
- Creates a new builder from a message.
-
- The message to create the builder from.
- The newly created builder.
-
-
-
- Creates a new builder from the provided list of components.
-
- The components to create the builder from.
- The newly created builder.
-
-
-
- Removes all components of the given type from the .
-
- The to remove.
- The current builder.
-
-
-
- Removes a component from the .
-
- The custom id of the component.
- The current builder.
-
-
-
- Removes a Link Button from the based on its URL.
-
- The URL of the Link Button.
- The current builder.
-
-
-
- Adds a to the at the specific row.
- If the row cannot accept the component then it will add it to a row that can.
-
- The custom id of the menu.
- The options of the menu.
- The placeholder of the menu.
- The min values of the placeholder.
- The max values of the placeholder.
- Whether or not the menu is disabled.
- The row to add the menu to.
- The type of the select menu.
- Menus valid channel types (only for )
-
-
-
-
- Adds a to the at the specific row.
- If the row cannot accept the component then it will add it to a row that can.
-
- The menu to add.
- The row to attempt to add this component on.
- There is no more row to add a menu.
- must be less than .
- The current builder.
-
-
-
- Adds a with specified parameters to the at the specific row.
- If the row cannot accept the component then it will add it to a row that can.
-
- The label text for the newly added button.
- The style of this newly added button.
- A to be used with this button.
- The custom id of the newly added button.
- A URL to be used only if the is a Link.
- Whether or not the newly created button is disabled.
- The row the button should be placed on.
- The current builder.
-
-
-
- Adds a to the at the specific row.
- If the row cannot accept the component then it will add it to a row that can.
-
- The button to add.
- The row to add the button.
- There is no more row to add a button.
- must be less than .
- The current builder.
-
-
-
- Adds a row to this component builder.
-
- The row to add.
- The component builder contains the max amount of rows defined as .
- The current builder.
-
-
-
- Sets the rows of this component builder to a specified collection.
-
- The rows to set.
- The collection contains more rows then is allowed by discord.
- The current builder.
-
-
-
- Builds this builder into a used to send your components.
-
- A that can be sent with .
-
-
-
- Represents a class used to build Action rows.
-
-
-
-
- The max amount of child components this row can hold.
-
-
-
-
- Gets or sets the components inside this row.
-
- cannot be null.
- count exceeds .
-
-
-
- Adds a list of components to the current row.
-
- The list of components to add.
-
- The current builder.
-
-
-
- Adds a component at the end of the current row.
-
- The component to add.
- Components count reached
- The current builder.
-
-
-
- Adds a to the .
-
- The custom id of the menu.
- The options of the menu.
- The placeholder of the menu.
- The min values of the placeholder.
- The max values of the placeholder.
- Whether or not the menu is disabled.
- The type of the select menu.
- Menus valid channel types (only for )
- The current builder.
-
-
-
- Adds a to the .
-
- The menu to add.
- A Select Menu cannot exist in a pre-occupied ActionRow.
- The current builder.
-
-
-
- Adds a with specified parameters to the .
-
- The label text for the newly added button.
- The style of this newly added button.
- A to be used with this button.
- The custom id of the newly added button.
- A URL to be used only if the is a Link.
- Whether or not the newly created button is disabled.
- The current builder.
-
-
-
- Adds a to the .
-
- The button to add.
- Components count reached .
- A button cannot be added to a row with a SelectMenu.
- The current builder.
-
-
-
- Builds the current builder to a that can be used within a
-
- A that can be used within a
-
-
-
- Represents a class used to build 's.
-
-
-
-
- The max length of a .
-
-
-
-
- Gets or sets the label of the current button.
-
- length exceeds .
- length exceeds .
-
-
-
- Gets or sets the custom id of the current button.
-
- length exceeds
- length subceeds 1.
-
-
-
- Gets or sets the of the current button.
-
-
-
-
- Gets or sets the of the current button.
-
-
-
-
- Gets or sets the url of the current button.
-
-
-
-
- Gets or sets whether the current button is disabled.
-
-
-
-
- Creates a new instance of a .
-
-
-
-
- Creates a new instance of a .
-
- The label to use on the newly created link button.
- The url of this button.
- The custom ID of this button.
- The custom ID of this button.
- The emote of this button.
- Disabled this button or not.
-
-
-
- Creates a new instance of a from instance of a .
-
-
-
-
- Creates a button with the style.
-
- The label for this link button.
- The url for this link button to go to.
- The emote for this link button.
- A builder with the newly created button.
-
-
-
- Creates a button with the style.
-
- The label for this danger button.
- The custom id for this danger button.
- The emote for this danger button.
- A builder with the newly created button.
-
-
-
- Creates a button with the style.
-
- The label for this primary button.
- The custom id for this primary button.
- The emote for this primary button.
- A builder with the newly created button.
-
-
-
- Creates a button with the style.
-
- The label for this secondary button.
- The custom id for this secondary button.
- The emote for this secondary button.
- A builder with the newly created button.
-
-
-
- Creates a button with the style.
-
- The label for this success button.
- The custom id for this success button.
- The emote for this success button.
- A builder with the newly created button.
-
-
-
- Sets the current buttons label to the specified text.
-
- The text for the label.
-
- The current builder.
-
-
-
- Sets the current buttons style.
-
- The style for this builders button.
- The current builder.
-
-
-
- Sets the current buttons emote.
-
- The emote to use for the current button.
- The current builder.
-
-
-
- Sets the current buttons url.
-
- The url to use for the current button.
- The current builder.
-
-
-
- Sets the custom id of the current button.
-
- The id to use for the current button.
-
- The current builder.
-
-
-
- Sets whether the current button is disabled.
-
- Whether the current button is disabled or not.
- The current builder.
-
-
-
- Builds this builder into a to be used in a .
-
- A to be used in a .
- A button must contain either a or a , but not both.
- A button must have an or a .
- A link button must contain a URL.
- A URL must include a protocol (http or https).
- A non-link button must contain a custom id
-
-
-
- Represents a class used to build 's.
-
-
-
-
- The max length of a .
-
-
-
-
- The maximum number of values for the and properties.
-
-
-
-
- The maximum number of options a can have.
-
-
-
-
- Gets or sets the custom id of the current select menu.
-
- length exceeds
- length subceeds 1.
-
-
-
- Gets or sets the type of the current select menu.
-
- Type must be a select menu type.
-
-
-
- Gets or sets the placeholder text of the current select menu.
-
- length exceeds .
- length subceeds 1.
-
-
-
- Gets or sets the minimum values of the current select menu.
-
- exceeds .
-
-
-
- Gets or sets the maximum values of the current select menu.
-
- exceeds .
-
-
-
- Gets or sets a collection of for this current select menu.
-
- count exceeds .
- is null.
-
-
-
- Gets or sets whether the current menu is disabled.
-
-
-
-
- Gets or sets the menu's channel types (only valid on s).
-
-
-
-
- Creates a new instance of a .
-
-
-
-
- Creates a new instance of a from instance of .
-
-
-
-
- Creates a new instance of a .
-
- The custom id of this select menu.
- The options for this select menu.
- The placeholder of this select menu.
- The max values of this select menu.
- The min values of this select menu.
- Disabled this select menu or not.
- The of this select menu.
- The types of channels this menu can select (only valid on s)
-
-
-
- Sets the field CustomId.
-
- The value to set the field CustomId to.
-
-
- The current builder.
-
-
-
-
- Sets the field placeholder.
-
- The value to set the field placeholder to.
-
-
- The current builder.
-
-
-
-
- Sets the field minValues.
-
- The value to set the field minValues to.
-
-
- The current builder.
-
-
-
-
- Sets the field maxValues.
-
- The value to set the field maxValues to.
-
-
- The current builder.
-
-
-
-
- Sets the field options.
-
- The value to set the field options to.
-
-
- The current builder.
-
-
-
-
- Add one option to menu options.
-
- The option builder class containing the option properties.
- Options count reached .
-
- The current builder.
-
-
-
-
- Add one option to menu options.
-
- The label for this option.
- The value of this option.
- The description of this option.
- The emote of this option.
- Render this option as selected by default or not.
- Options count reached .
-
- The current builder.
-
-
-
-
- Add one default value to menu options.
-
- The id of an entity to add.
- The type of an entity to add.
- Default values count reached .
-
- The current builder.
-
-
-
-
- Add one default value to menu options.
-
- The default value to add.
- Default values count reached .
-
- The current builder.
-
-
-
-
- Sets the field default values.
-
- The value to set the field default values to.
-
- The current builder.
-
-
-
-
- Sets whether the current menu is disabled.
-
- Whether the current menu is disabled or not.
-
- The current builder.
-
-
-
-
- Sets the menu's current type.
-
- The type of the menu.
-
- The current builder.
-
-
-
-
- Sets the menus valid channel types (only for s).
-
- The valid channel types of the menu.
-
- The current builder.
-
-
-
-
- Sets the menus valid channel types (only for s).
-
- The valid channel types of the menu.
-
- The current builder.
-
-
-
-
- Builds a
-
- The newly built
-
-
-
- Represents a class used to build 's.
-
-
-
-
- The maximum length of a .
-
-
-
-
- The maximum length of a .
-
-
-
-
- The maximum length of a .
-
-
-
-
- Gets or sets the label of the current select menu.
-
- length exceeds
- length subceeds 1.
-
-
-
- Gets or sets the value of the current select menu.
-
- length exceeds .
- length subceeds 1.
-
-
-
- Gets or sets this menu options description.
-
- length exceeds .
- length subceeds 1.
-
-
-
- Gets or sets the emote of this option.
-
-
-
-
- Gets or sets the whether or not this option will render selected by default.
-
-
-
-
- Creates a new instance of a .
-
-
-
-
- Creates a new instance of a .
-
- The label for this option.
- The value of this option.
- The description of this option.
- The emote of this option.
- Render this option as selected by default or not.
-
-
-
- Creates a new instance of a from instance of a .
-
-
-
-
- Sets the field label.
-
- The value to set the field label to.
-
-
- The current builder.
-
-
-
-
- Sets the field value.
-
- The value to set the field value to.
-
-
- The current builder.
-
-
-
-
- Sets the field description.
-
- The value to set the field description to.
-
-
- The current builder.
-
-
-
-
- Sets the field emote.
-
- The value to set the field emote to.
-
- The current builder.
-
-
-
-
- Sets the field default.
-
- The value to set the field default to.
-
- The current builder.
-
-
-
-
- Builds a .
-
- The newly built .
-
-
-
- The max length of a .
-
-
-
-
- Gets or sets the custom id of the current text input.
-
- length exceeds
- length subceeds 1.
-
-
-
- Gets or sets the style of the current text input.
-
-
-
-
- Gets or sets the label of the current text input.
-
-
-
-
- Gets or sets the placeholder of the current text input.
-
- is longer than characters
-
-
-
- Gets or sets the minimum length of the current text input.
-
- is less than 0.
- is greater than .
- is greater than .
-
-
-
- Gets or sets the maximum length of the current text input.
-
- is less than 0.
- is greater than .
- is less than .
-
-
-
- Gets or sets whether the user is required to input text.
-
-
-
-
- Gets or sets the default value of the text input.
-
- .Length is less than 0.
-
- .Length is greater than or .
-
-
-
-
- Creates a new instance of a .
-
- The text input's label.
- The text input's style.
- The text input's custom id.
- The text input's placeholder.
- The text input's minimum length.
- The text input's maximum length.
- The text input's required value.
-
-
-
- Creates a new instance of a .
-
-
-
-
- Sets the label of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Sets the style of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Sets the custom id of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Sets the placeholder of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Sets the value of the current builder.
-
- The value to set
- The current builder.
-
-
-
- Sets the minimum length of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Sets the maximum length of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Sets the required value of the current builder.
-
- The value to set.
- The current builder.
-
-
-
- Represents a type of a component.
-
-
-
-
- A container for other components.
-
-
-
-
- A clickable button.
-
-
-
-
- A select menu for picking from choices.
-
-
-
-
- A box for entering text.
-
-
-
-
- A select menu for picking from users.
-
-
-
-
- A select menu for picking from roles.
-
-
-
-
- A select menu for picking from roles and users.
-
-
-
-
- A select menu for picking from channels.
-
-
-
-
- Represents an interaction type for Message Components.
-
-
-
-
- Gets the data received with this component interaction.
-
-
-
-
- Gets the message that contained the trigger for this interaction.
-
-
-
-
- Updates the message which this component resides in with the type
-
- A delegate containing the properties to modify the message with.
- The options to be used when sending the request.
- A task that represents the asynchronous operation of updating the message.
-
-
-
- Defers an interaction with the response type 5 ().
-
- to defer ephemerally, otherwise .
- The options to be used when sending the request.
- A task that represents the asynchronous operation of acknowledging the interaction.
-
-
-
- Represents the data sent with the .
-
-
-
-
- Gets the component's Custom Id that was clicked.
-
-
-
-
- Gets the type of the component clicked.
-
-
-
-
- Gets the value(s) of a interaction response. if select type is different.
-
-
-
-
- Gets the channels(s) of a interaction response. if select type is different.
-
-
-
-
- Gets the user(s) of a or interaction response. if select type is different.
-
-
-
-
- Gets the roles(s) of a or interaction response. if select type is different.
-
-
-
-
- Gets the guild member(s) of a or interaction response. if type select is different.
-
-
-
-
- Gets the value of a interaction response.
-
-
-
-
- Represents a message component on a message.
-
-
-
-
- Gets the of this Message Component.
-
-
-
-
- Gets the custom id of the component if possible; otherwise .
-
-
-
-
- Represents a component object used to send components with messages.
-
-
-
-
- Gets the components to be used in a message.
-
-
-
-
- Returns a empty .
-
-
-
-
- Type of a .
-
-
-
-
- Represents a select menu component defined at
-
-
-
-
-
-
-
-
-
-
- Gets the menus options to select from.
-
-
-
-
- Gets the custom placeholder text if nothing is selected.
-
-
-
-
- Gets the minimum number of items that must be chosen.
-
-
-
-
- Gets the maximum number of items that can be chosen.
-
-
-
-
- Gets whether this menu is disabled or not.
-
-
-
-
- Gets the allowed channel types for this modal
-
-
-
-
- Gets default values for auto-populated select menu components.
-
-
-
-
- Turns this select menu into a builder.
-
-
- A newly create builder with the same properties as this select menu.
-
-
-
-
- Represents a default value of an auto-populated select menu.
-
-
-
-
- Creates a new default value.
-
- Id of the target object.
- Type of the target entity.
-
-
-
- Creates a new default value from a .
-
-
-
-
- Creates a new default value from a .
-
-
-
-
- Creates a new default value from a .
-
-
-
-
- Represents a choice for a .
-
-
-
-
- Gets the user-facing name of the option.
-
-
-
-
- Gets the dev-define value of the option.
-
-
-
-
- Gets a description of the option.
-
-
-
-
- Gets the displayed with this menu option.
-
-
-
-
- Gets whether or not this option will render as selected by default.
-
-
-
-
- Represents a text input.
-
-
-
-
-
-
-
-
-
-
- Gets the label of the component; this is the text shown above it.
-
-
-
-
- Gets the placeholder of the component.
-
-
-
-
- Gets the minimum length of the inputted text.
-
-
-
-
- Gets the maximum length of the inputted text.
-
-
-
-
- Gets the style of the component.
-
-
-
-
- Gets whether users are required to input text.
-
-
-
-
- Gets the default value of the component.
-
-
-
-
- Intended for short, single-line text.
-
-
-
-
- Intended for longer or multiline text.
-
-
-
-
- Represents an interaction type for Modals.
-
-
-
-
- Gets the data received with this interaction; contains the clicked button.
-
-
-
-
- Gets the message the modal originates from.
-
-
- This property is only populated if the modal was created from a message component.
-
-
-
-
- Updates the message which this modal originates from with the type
-
- A delegate containing the properties to modify the message with.
- The options to be used when sending the request.
- A task that represents the asynchronous operation of updating the message.
-
- This method can be used only if the modal was created from a message component.
-
-
-
-
- Defers an interaction with the response type 5 ().
-
- to defer ephemerally, otherwise .
- The options to be used when sending the request.
- A task that represents the asynchronous operation of acknowledging the interaction.
-
-
-
- Represents the data sent with the .
-
-
-
-
- Gets the 's Custom Id.
-
-
-
-
- Gets the components submitted by the user.
-
-
-
-
- Represents a modal interaction.
-
-
-
-
-
-
-
- Gets the title of the modal.
-
-
-
-
-
-
-
- Gets the components in the modal.
-
-
-
-
- Represents a builder for creating a .
-
-
-
-
- Creates a new instance of the .
-
- The modal's title.
- The modal's customId.
- The modal's components.
- Only TextInputComponents are allowed.
-
-
-
- Gets or sets the title of the current modal.
-
-
-
-
- Gets or sets the custom ID of the current modal.
-
-
-
-
- Gets or sets the components of the current modal.
-
-
-
-
- Sets the title of the current modal.
-
- The value to set the title to.
- The current builder.
-
-
-
- Sets the custom id of the current modal.
-
- The value to set the custom id to.
- The current builder.
-
-
-
- Adds a component to the current builder.
-
- The component to add.
- The row to add the text input.
- The current builder.
-
-
-
- Adds a to the current builder.
-
- The input's custom id.
- The input's label.
- The input's placeholder text.
- The input's minimum length.
- The input's maximum length.
- The input's style.
- The current builder.
-
-
-
- Adds multiple components to the current builder.
-
- The components to add.
- The current builder
-
-
-
- Gets a by the specified .
-
- The type of the component to get.
- The of the component to get.
-
- The component of type that was found, otherwise.
-
-
-
-
- Updates a by the specified .
-
- The of the input to update.
- An action that configures the updated text input.
- The current builder.
-
- Thrown when the to be updated was not found.
-
-
-
-
- Updates the value of a by the specified .
-
- The of the input to update.
- The new value to put.
- The current builder.
-
-
-
- Removes a component from this builder by the specified .
-
- The of the component to remove.
- The current builder.
-
-
-
- Removes all components of the given from this builder.
-
- The to remove.
- The current builder.
-
-
-
- Builds this builder into a .
-
- A with the same values as this builder.
- Modals must have a custom ID.
- Modals must have a title.
- Only components of type are allowed.
-
-
-
- Represents a builder for creating a .
-
-
-
-
- The max length of a .
-
-
-
-
- The max amount of rows a can have.
-
-
-
-
- Gets or sets the Action Rows for this Component Builder.
-
- cannot be null.
- count exceeds .
-
-
-
- Creates a new builder from the provided list of components.
-
- The components to create the builder from.
- The newly created builder.
-
-
-
- Adds a to the at the specific row.
- If the row cannot accept the component then it will add it to a row that can.
-
- The input's custom id.
- The input's label.
- The input's placeholder text.
- The input's minimum length.
- The input's maximum length.
- The input's style.
- The current builder.
-
-
-
- Adds a to the at the specific row.
- If the row cannot accept the component then it will add it to a row that can.
-
- The to add.
- The row to add the text input.
- There are no more rows to add a text input to.
- must be less than .
- The current builder.
-
-
-
- Get a representing the builder.
-
- A representing the builder.
-
-
-
- Represents a component object used in s.
-
-
-
-
- Gets the components to be used in a modal.
-
-
-
-
- Represents a .
-
-
-
-
- Gets the autocomplete data of this interaction.
-
-
-
-
- Represents data for a slash commands autocomplete interaction.
-
-
-
-
- Gets the name of the invoked command.
-
-
-
-
- Gets the id of the invoked command.
-
-
-
-
- Gets the type of the invoked command.
-
-
-
-
- Gets the version of the invoked command.
-
-
-
-
- Gets the current autocomplete option that is actively being filled out.
-
-
-
-
- Gets a collection of all the other options the executing users has filled out.
-
-
-
-
- Represents a slash command interaction.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
- Represents a class used to build slash commands.
-
-
-
-
- Returns the maximum length a commands name allowed by Discord
-
-
-
-
- Returns the maximum length of a commands description allowed by Discord.
-
-
-
-
- Returns the maximum count of command options allowed by Discord
-
-
-
-
- Gets or sets the name of this slash command.
-
-
-
-
- Gets or sets a 1-100 length description of this slash command
-
-
-
-
- Gets or sets the options for this command.
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets the localization dictionary for the description field of this command.
-
-
-
-
- Gets or sets whether the command is enabled by default when the app is added to a guild
-
-
-
-
- Gets or sets whether or not this command can be used in DMs.
-
-
-
-
- Gets or sets whether or not this command is age restricted.
-
-
-
-
- Gets or sets the default permission required to use this slash command.
-
-
-
-
- Build the current builder into a class.
-
- A that can be used to create slash commands.
-
-
-
- Sets the field name.
-
- The value to set the field name to.
-
- The current builder.
-
-
-
-
- Sets the description of the current command.
-
- The description of this command.
- The current builder.
-
-
-
- Sets the default permission of the current command.
-
- The default permission value to set.
- The current builder.
-
-
-
- Sets whether or not this command can be used in dms.
-
- if the command is available in dms, otherwise .
- The current builder.
-
-
-
- Sets whether or not this command is age restricted.
-
- if the command is age restricted, otherwise .
- The current builder.
-
-
-
- Sets the default member permissions required to use this application command.
-
- The permissions required to use this command.
- The current builder.
-
-
-
- Adds an option to the current slash command.
-
- The name of the option to add.
- The type of this option.
- The description of this option.
- If this option is required for this command.
- If this option is the default option.
- If this option is set to autocomplete.
- The options of the option to add.
- The allowed channel types for this option.
- Localization dictionary for the name field of this command.
- Localization dictionary for the description field of this command.
- The choices of this option.
- The smallest number value the user can input.
- The largest number value the user can input.
- The current builder.
-
-
-
- Adds an option to this slash command.
-
- The option to add.
- The current builder.
-
-
-
- Adds a collection of options to the current slash command.
-
- The collection of options to add.
- The current builder.
-
-
-
- Sets the collection.
-
- The localization dictionary to use for the name field of this command.
-
- Thrown if is null.
- Thrown if any dictionary key is an invalid locale string.
-
-
-
- Sets the collection.
-
- The localization dictionary to use for the description field of this command.
-
- Thrown if is null.
- Thrown if any dictionary key is an invalid locale string.
-
-
-
- Adds a new entry to the collection.
-
- Locale of the entry.
- Localized string for the name field.
- The current builder.
- Thrown if is an invalid locale string.
-
-
-
- Adds a new entry to the collection.
-
- Locale of the entry.
- Localized string for the description field.
- The current builder.
- Thrown if is an invalid locale string.
-
-
-
- Represents a class used to build options for the .
-
-
-
-
- The max length of a choice's name allowed by Discord.
-
-
-
-
- The maximum number of choices allowed by Discord.
-
-
-
-
- Gets or sets the name of this option.
-
-
-
-
- Gets or sets the description of this option.
-
-
-
-
- Gets or sets the type of this option.
-
-
-
-
- Gets or sets whether or not this options is the first required option for the user to complete. only one option can be default.
-
-
-
-
- Gets or sets if the option is required.
-
-
-
-
- Gets or sets whether or not this option supports autocomplete.
-
-
-
-
- Gets or sets the smallest number value the user can input.
-
-
-
-
- Gets or sets the largest number value the user can input.
-
-
-
-
- Gets or sets the minimum allowed length for a string input.
-
-
-
-
- Gets or sets the maximum allowed length for a string input.
-
-
-
-
- Gets or sets the choices for string and int types for the user to pick from.
-
-
-
-
- Gets or sets if this option is a subcommand or subcommand group type, these nested options will be the parameters.
-
-
-
-
- Gets or sets the allowed channel types for this option.
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets the localization dictionary for the description field of this command.
-
-
-
-
- Builds the current option.
-
- The built version of this option.
-
-
-
- Adds an option to the current slash command.
-
- The name of the option to add.
- The type of this option.
- The description of this option.
- If this option is required for this command.
- If this option is the default option.
- If this option supports autocomplete.
- The options of the option to add.
- The allowed channel types for this option.
- Localization dictionary for the description field of this command.
- Localization dictionary for the description field of this command.
- The choices of this option.
- The smallest number value the user can input.
- The largest number value the user can input.
- The current builder.
-
-
-
- Adds a sub option to the current option.
-
- The sub option to add.
- The current builder.
-
-
-
- Adds a collection of options to the current option.
-
- The collection of options to add.
- The current builder.
-
-
-
- Adds a choice to the current option.
-
- The name of the choice.
- The value of the choice.
- The localization dictionary for to use the name field of this command option choice.
- The current builder.
-
-
-
- Adds a choice to the current option.
-
- The name of the choice.
- The value of the choice.
- The localization dictionary for to use the name field of this command option choice.
- The current builder.
-
-
-
- Adds a choice to the current option.
-
- The name of the choice.
- The value of the choice.
- Localization dictionary for the description field of this command.
- The current builder.
-
-
-
- Adds a choice to the current option.
-
- The name of the choice.
- The value of the choice.
- The localization dictionary to use for the name field of this command option choice.
- The current builder.
-
-
-
- Adds a choice to the current option.
-
- The name of the choice.
- The value of the choice.
- The localization dictionary to use for the name field of this command option choice.
- The current builder.
-
-
-
- Adds a channel type to the current option.
-
- The to add.
- The current builder.
-
-
-
- Sets the current builders name.
-
- The name to set the current option builder.
- The current builder.
-
-
-
- Sets the current builders description.
-
- The description to set.
- The current builder.
-
-
-
- Sets the current builders required field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current builders default field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current builders autocomplete field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current builders min value field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current builders max value field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current builders min length field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current builders max length field.
-
- The value to set.
- The current builder.
-
-
-
- Sets the current type of this builder.
-
- The type to set.
- The current builder.
-
-
-
- Sets the collection.
-
- The localization dictionary to use for the name field of this command option.
- The current builder.
- Thrown if is null.
- Thrown if any dictionary key is an invalid locale string.
-
-
-
- Sets the collection.
-
- The localization dictionary to use for the description field of this command option.
- The current builder.
- Thrown if is null.
- Thrown if any dictionary key is an invalid locale string.
-
-
-
- Adds a new entry to the collection.
-
- Locale of the entry.
- Localized string for the name field.
- The current builder.
- Thrown if is an invalid locale string.
-
-
-
- Adds a new entry to the collection.
-
- Locale of the entry.
- Localized string for the description field.
- The current builder.
- Thrown if is an invalid locale string.
-
-
-
- Represents a class used to create slash commands.
-
-
-
-
- Gets or sets the description of this command.
-
-
-
-
- Gets or sets the options for this command.
-
-
-
-
- Represents a generic invite object.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets the URL used to accept this invite using .
-
-
- A string containing the full invite URL (e.g. https://discord.gg/FTqNnyS).
-
-
-
-
- Gets the user that created this invite.
-
-
- A user that created this invite.
-
-
-
-
- Gets the channel this invite is linked to.
-
-
- A generic channel that the invite points to.
-
-
-
-
- Gets the type of the channel this invite is linked to.
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- An representing the channel snowflake identifier that the invite points to.
-
-
-
-
- Gets the name of the channel this invite is linked to.
-
-
- A string containing the name of the channel that the invite points to.
-
-
-
-
- Gets the guild this invite is linked to.
-
-
- A guild object representing the guild that the invite points to.
-
-
-
-
- Gets the ID of the guild this invite is linked to.
-
-
- An representing the guild snowflake identifier that the invite points to.
-
-
-
-
- Gets the name of the guild this invite is linked to.
-
-
- A string containing the name of the guild that the invite points to.
-
-
-
-
- Gets the approximated count of online members in the guild.
-
-
- An representing the approximated online member count of the guild that the
- invite points to; if one cannot be obtained.
-
-
-
-
- Gets the approximated count of total members in the guild.
-
-
- An representing the approximated total member count of the guild that the
- invite points to; if one cannot be obtained.
-
-
-
-
- Gets the user this invite is linked to via .
-
-
- A user that is linked to this invite.
-
-
-
-
- Gets the type of the linked for this invite.
-
-
- The type of the linked user that is linked to this invite.
-
-
-
-
- Gets the embedded application to open for this voice channel embedded application invite.
-
-
- A partial object. if
- is not .
-
-
-
-
- Gets the expiration date of this invite. if the invite never expires.
-
-
-
-
- Represents additional information regarding the generic invite object.
-
-
-
-
- Gets a value that indicates whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off; otherwise
- .
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires; if this
- invite never expires.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is set.
-
-
-
-
- Gets the number of times this invite has been used.
-
-
- An representing the number of times this invite has been used.
-
-
-
-
- Gets when this invite was created.
-
-
- A representing the time of which the invite was first created.
-
-
-
-
- The invite whose target user type is not defined.
-
-
-
-
- The invite is for a Go Live stream.
-
-
-
-
- The invite is for embedded application.
-
-
-
- Represents a Discord snowflake entity.
-
-
-
- Gets when the snowflake was created.
-
-
- A representing when the entity was first created.
-
-
-
-
- Defines whether the object is updateable or not.
-
-
-
-
- Updates this object's properties with its current state.
-
- The options to be used when sending the request.
-
-
-
- Defines which mentions and types of mentions that will notify users from the message content.
-
-
-
-
- Gets a value which indicates that no mentions in the message content should notify users.
-
-
-
-
- Gets a value which indicates that all mentions in the message content should notify users.
-
-
-
-
- Gets or sets the type of mentions that will be parsed from the message content.
-
-
- The flag is mutually exclusive with the
- property, and the flag is mutually exclusive with the
- property.
- If , only the ids specified in and will be mentioned.
-
-
-
-
- Gets or sets the list of all role ids that will be mentioned.
- This property is mutually exclusive with the
- flag of the property. If the flag is set, the value of this property
- must be or empty.
-
-
-
-
- Gets or sets the list of all user ids that will be mentioned.
- This property is mutually exclusive with the
- flag of the property. If the flag is set, the value of this property
- must be or empty.
-
-
-
-
- Gets or sets whether to mention the author of the message you are replying to or not.
-
-
- Specifically for inline replies.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The types of mentions to parse from the message content.
- If , only the ids specified in and will be mentioned.
-
-
-
-
- Specifies the type of mentions that will be notified from the message content.
-
-
-
-
- No flag is set.
-
-
- This flag is not used to control mentions.
-
- It will always be present and does not mean mentions will not be allowed.
-
-
-
-
-
- Controls role mentions.
-
-
-
-
- Controls user mentions.
-
-
-
-
- Controls @everyone
and @here
mentions.
-
-
-
-
- The attachment has no flags.
-
-
-
-
- Indicates that this attachment is a clip.
-
-
-
-
- Indicates that this attachment is a thumbnail.
-
-
-
-
- Indicates that this attachment has been edited using the remix feature on mobile.
-
-
-
-
- Represents an embed object seen in an .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the total length of all embed properties.
-
-
-
-
- Gets the title of the embed.
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- A author field of an .
-
-
-
-
- Gets the name of the author field.
-
-
-
-
- Gets the URL of the author field.
-
-
-
-
- Gets the icon URL of the author field.
-
-
-
-
- Gets the proxified icon URL of the author field.
-
-
-
-
- Gets the name of the author field.
-
-
-
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- Represents a builder class for creating a .
-
-
-
-
- Returns the maximum number of fields allowed by Discord.
-
-
-
-
- Returns the maximum length of title allowed by Discord.
-
-
-
-
- Returns the maximum length of description allowed by Discord.
-
-
-
-
- Returns the maximum length of total characters allowed by Discord.
-
-
-
- Initializes a new class.
-
-
- Gets or sets the title of an .
- Title length exceeds .
-
- The title of the embed.
-
-
- Gets or sets the description of an .
- Description length exceeds .
- The description of the embed.
-
-
- Gets or sets the URL of an .
- Url is not a well-formed .
- The URL of the embed.
-
-
- Gets or sets the thumbnail URL of an .
- Url is not a well-formed .
- The thumbnail URL of the embed.
-
-
- Gets or sets the image URL of an .
- Url is not a well-formed .
- The image URL of the embed.
-
-
- Gets or sets the list of of an .
- An embed builder's fields collection is set to
- .
- Fields count exceeds .
-
- The list of existing .
-
-
-
- Gets or sets the timestamp of an .
-
-
- The timestamp of the embed, or if none is set.
-
-
-
-
- Gets or sets the sidebar color of an .
-
-
- The color of the embed, or if none is set.
-
-
-
-
- Gets or sets the of an .
-
-
- The author field builder of the embed, or if none is set.
-
-
-
-
- Gets or sets the of an .
-
-
- The footer field builder of the embed, or if none is set.
-
-
-
-
- Gets the total length of all embed properties.
-
-
- The combined length of , , ,
- , , and .
-
-
-
-
- Tries to parse a string into an .
-
- The json string to parse.
- The with populated values. An empty instance if method returns .
- if was successfully parsed. if not.
-
-
-
- Parses a string into an .
-
- The json string to parse.
- An with populated values from the passed .
- Thrown if the string passed is not valid json.
-
-
-
- Sets the title of an .
-
- The title to be set.
-
- The current builder.
-
-
-
-
- Sets the description of an .
-
- The description to be set.
-
- The current builder.
-
-
-
-
- Sets the URL of an .
-
- The URL to be set.
-
- The current builder.
-
-
-
-
- Sets the thumbnail URL of an .
-
- The thumbnail URL to be set.
-
- The current builder.
-
-
-
-
- Sets the image URL of an .
-
- The image URL to be set.
-
- The current builder.
-
-
-
-
- Sets the timestamp of an to the current time.
-
-
- The current builder.
-
-
-
-
- Sets the timestamp of an .
-
- The timestamp to be set.
-
- The current builder.
-
-
-
-
- Sets the sidebar color of an .
-
- The color to be set.
-
- The current builder.
-
-
-
-
- Sets the of an .
-
- The author builder class containing the author field properties.
-
- The current builder.
-
-
-
-
- Sets the author field of an with the provided properties.
-
- The delegate containing the author field properties.
-
- The current builder.
-
-
-
-
- Sets the author field of an with the provided name, icon URL, and URL.
-
- The title of the author field.
- The icon URL of the author field.
- The URL of the author field.
-
- The current builder.
-
-
-
-
- Sets the of an .
-
- The footer builder class containing the footer field properties.
-
- The current builder.
-
-
-
-
- Sets the footer field of an with the provided properties.
-
- The delegate containing the footer field properties.
-
- The current builder.
-
-
-
-
- Sets the footer field of an with the provided name, icon URL.
-
- The title of the footer field.
- The icon URL of the footer field.
-
- The current builder.
-
-
-
-
- Adds an field with the provided name and value.
-
- The title of the field.
- The value of the field.
- Indicates whether the field is in-line or not.
-
- The current builder.
-
-
-
-
- Adds a field with the provided to an
- .
-
- The field builder class containing the field properties.
- Field count exceeds .
-
- The current builder.
-
-
-
-
- Adds an field with the provided properties.
-
- The delegate containing the field properties.
-
- The current builder.
-
-
-
-
- Builds the into a Rich Embed ready to be sent.
-
-
- The built embed object.
-
- Total embed length exceeds .
- Any Url must include its protocols (i.e http:// or https://).
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- Represents a builder class for an embed field.
-
-
-
-
- Gets the maximum field length for name allowed by Discord.
-
-
-
-
- Gets the maximum field length for value allowed by Discord.
-
-
-
-
- Gets or sets the field name.
-
-
- Field name is , empty or entirely whitespace.
- - or -
- Field name length exceeds .
-
-
- The name of the field.
-
-
-
-
- Gets or sets the field value.
-
-
- Field value is , empty or entirely whitespace.
- - or -
- Field value length exceeds .
-
-
- The value of the field.
-
-
-
-
- Gets or sets a value that indicates whether the field should be in-line with each other.
-
-
-
-
- Sets the field name.
-
- The name to set the field name to.
-
- The current builder.
-
-
-
-
- Sets the field value.
-
- The value to set the field value to.
-
- The current builder.
-
-
-
-
- Determines whether the field should be in-line with each other.
-
-
- The current builder.
-
-
-
-
- Builds the field builder into a class.
-
-
- The current builder.
-
-
- or is , empty or entirely whitespace.
- - or -
- or exceeds the maximum length allowed by Discord.
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- Represents a builder class for a author field.
-
-
-
-
- Gets the maximum author name length allowed by Discord.
-
-
-
-
- Gets or sets the author name.
-
-
- Author name length is longer than .
-
-
- The author name.
-
-
-
-
- Gets or sets the URL of the author field.
-
- Url is not a well-formed .
-
- The URL of the author field.
-
-
-
-
- Gets or sets the icon URL of the author field.
-
- Url is not a well-formed .
-
- The icon URL of the author field.
-
-
-
-
- Sets the name of the author field.
-
- The name of the author field.
-
- The current builder.
-
-
-
-
- Sets the URL of the author field.
-
- The URL of the author field.
-
- The current builder.
-
-
-
-
- Sets the icon URL of the author field.
-
- The icon URL of the author field.
-
- The current builder.
-
-
-
-
- Builds the author field to be used.
-
-
- Author name length is longer than .
- - or -
- is not a well-formed .
- - or -
- is not a well-formed .
-
-
- The built author field.
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equals to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- Represents a builder class for an embed footer.
-
-
-
-
- Gets the maximum footer length allowed by Discord.
-
-
-
-
- Gets or sets the footer text.
-
-
- Author name length is longer than .
-
-
- The footer text.
-
-
-
-
- Gets or sets the icon URL of the footer field.
-
- Url is not a well-formed .
-
- The icon URL of the footer field.
-
-
-
-
- Sets the name of the footer field.
-
- The text of the footer field.
-
- The current builder.
-
-
-
-
- Sets the icon URL of the footer field.
-
- The icon URL of the footer field.
-
- The current builder.
-
-
-
-
- Builds the footer field to be used.
-
-
-
- length is longer than .
- - or -
- is not a well-formed .
-
-
- A built footer field.
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- A field for an .
-
-
-
-
- Gets the name of the field.
-
-
-
-
- Gets the value of the field.
-
-
-
-
- Gets a value that indicates whether the field should be in-line with each other.
-
-
-
-
- Gets the name of the field.
-
-
- A string that resolves to .
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current object
-
-
-
-
- Determines whether the specified is equal to the current
-
-
-
-
-
-
-
-
- A footer field for an .
-
-
-
- Gets the text of the footer field.
-
-
- A string containing the text of the footer field.
-
-
-
-
- Gets the URL of the footer icon.
-
-
- A string containing the URL of the footer icon.
-
-
-
-
- Gets the proxied URL of the footer icon link.
-
-
- A string containing the proxied URL of the footer icon.
-
-
-
-
- Gets the text of the footer field.
-
-
- A string that resolves to .
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
- An image for an .
-
-
-
- Gets the URL of the image.
-
-
- A string containing the URL of the image.
-
-
-
-
- Gets a proxied URL of this image.
-
-
- A string containing the proxied URL of this image.
-
-
-
-
- Gets the height of this image.
-
-
- A representing the height of this image if it can be retrieved; otherwise
- .
-
-
-
-
- Gets the width of this image.
-
-
- A representing the width of this image if it can be retrieved; otherwise
- .
-
-
-
-
- Gets the URL of the thumbnail.
-
-
- A string that resolves to .
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
- A provider field for an .
-
-
-
- Gets the name of the provider.
-
-
- A string representing the name of the provider.
-
-
-
-
- Gets the URL of the provider.
-
-
- A string representing the link to the provider.
-
-
-
-
- Gets the name of the provider.
-
-
- A string that resolves to .
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
- A thumbnail featured in an .
-
-
-
- Gets the URL of the thumbnail.
-
-
- A string containing the URL of the thumbnail.
-
-
-
-
- Gets a proxied URL of this thumbnail.
-
-
- A string containing the proxied URL of this thumbnail.
-
-
-
-
- Gets the height of this thumbnail.
-
-
- A representing the height of this thumbnail if it can be retrieved; otherwise
- .
-
-
-
-
- Gets the width of this thumbnail.
-
-
- A representing the width of this thumbnail if it can be retrieved; otherwise
- .
-
-
-
-
- Gets the URL of the thumbnail.
-
-
- A string that resolves to .
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- Specifies the type of embed.
-
-
-
-
- An unknown embed type.
-
-
-
-
- A rich embed type.
-
-
-
-
- A link embed type.
-
-
-
-
- A video embed type.
-
-
-
-
- An image embed type.
-
-
-
-
- A GIFV embed type.
-
-
-
-
- An article embed type.
-
-
-
-
- A tweet embed type.
-
-
-
-
- A HTML embed type.
-
-
-
-
- A video featured in an .
-
-
-
-
- Gets the URL of the video.
-
-
- A string containing the URL of the image.
-
-
-
-
- Gets the height of the video.
-
-
- A representing the height of this video if it can be retrieved; otherwise
- .
-
-
-
-
- Gets the weight of the video.
-
-
- A representing the width of this video if it can be retrieved; otherwise
- .
-
-
-
-
- Gets the URL of the video.
-
-
- A string that resolves to .
-
-
-
-
- Determines whether the specified object is equal to the current .
-
-
- If the object passes is an , will be called to compare the 2 instances
-
- The object to compare with the current
-
-
-
-
- Determines whether the specified is equal to the current
-
- The to compare with the current
-
-
-
-
-
-
-
- Represents an outgoing file attachment used to send a file to discord.
-
-
-
-
- Gets or sets the filename.
-
-
-
-
- Gets or sets the description of the file.
-
-
-
-
- Gets or sets whether this file should be marked as a spoiler.
-
-
-
-
- Gets the stream containing the file content.
-
-
-
-
- Creates a file attachment from a stream.
-
- The stream to create the attachment from.
- The name of the attachment.
- The description of the attachment.
- Whether or not the attachment is a spoiler.
-
-
-
- Create the file attachment from a file path.
-
-
- This file path is NOT validated and is passed directly into a
- .
-
- The path to the file.
- The name of the attachment.
- The description of the attachment.
- Whether or not the attachment is a spoiler.
-
- is a zero-length string, contains only white space, or contains one or more invalid
- characters as defined by .
-
- is .
-
- The specified path, file name, or both exceed the system-defined maximum length. For example, on
- Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260
- characters.
-
- is in an invalid format.
-
- The specified is invalid, (for example, it is on an unmapped drive).
-
-
- specified a directory.-or- The caller does not have the required permission.
-
- The file specified in was not found.
-
- An I/O error occurred while opening the file.
-
-
-
- Represents a message attachment found in a .
-
-
-
-
- Gets the ID of this attachment.
-
-
- A snowflake ID associated with this attachment.
-
-
-
-
- Gets the filename of this attachment.
-
-
- A string containing the full filename of this attachment (e.g. textFile.txt).
-
-
-
-
- Gets the URL of this attachment.
-
-
- A string containing the URL of this attachment.
-
-
-
-
- Gets a proxied URL of this attachment.
-
-
- A string containing the proxied URL of this attachment.
-
-
-
-
- Gets the file size of this attachment.
-
-
- The size of this attachment in bytes.
-
-
-
-
- Gets the height of this attachment.
-
-
- The height of this attachment if it is a picture; otherwise .
-
-
-
-
- Gets the width of this attachment.
-
-
- The width of this attachment if it is a picture; otherwise .
-
-
-
-
- Gets whether or not this attachment is ephemeral.
-
-
- if the attachment is ephemeral; otherwise .
-
-
-
-
- Gets the description of the attachment; or if there is none set.
-
-
-
-
- Gets the media's MIME type if present; otherwise .
-
-
-
-
- Gets the duration of the audio file. if the attachment is not a voice message.
-
-
-
-
- Gets the base64 encoded bytearray representing a sampled waveform. if the attachment is not a voice message.
-
-
-
-
- Gets flags related to this to this attachment.
-
-
-
-
- Represents a Discord embed object.
-
-
-
-
- Gets the title URL of this embed.
-
-
- A string containing the URL set in a title of the embed.
-
-
-
-
- Gets the title of this embed.
-
-
- The title of the embed.
-
-
-
-
- Gets the description of this embed.
-
-
- The description field of the embed.
-
-
-
-
- Gets the type of this embed.
-
-
- The type of the embed.
-
-
-
-
- Gets the timestamp of this embed.
-
-
- A based on the timestamp present at the bottom left of the embed, or
- if none is set.
-
-
-
-
- Gets the color of this embed.
-
-
- The color of the embed present on the side of the embed, or if none is set.
-
-
-
-
- Gets the image of this embed.
-
-
- The image of the embed, or if none is set.
-
-
-
-
- Gets the video of this embed.
-
-
- The video of the embed, or if none is set.
-
-
-
-
- Gets the author field of this embed.
-
-
- The author field of the embed, or if none is set.
-
-
-
-
- Gets the footer field of this embed.
-
-
- The author field of the embed, or if none is set.
-
-
-
-
- Gets the provider of this embed.
-
-
- The source of the embed, or if none is set.
-
-
-
-
- Gets the thumbnail featured in this embed.
-
-
- The thumbnail featured in the embed, or if none is set.
-
-
-
-
- Gets the fields of the embed.
-
-
- An array of the fields of the embed.
-
-
-
-
- Represents a message object.
-
-
-
-
- Gets the type of this message.
-
-
-
-
- Gets the source type of this message.
-
-
-
-
- Gets the value that indicates whether this message was meant to be read-aloud by Discord.
-
-
- if this message was sent as a text-to-speech message; otherwise .
-
-
-
-
- Gets the value that indicates whether this message is pinned.
-
-
- if this message was added to its channel's pinned messages; otherwise .
-
-
-
-
- Gets the value that indicates whether or not this message's embeds are suppressed.
-
-
- if the embeds in this message have been suppressed (made invisible); otherwise .
-
-
-
-
- Gets the value that indicates whether this message mentioned everyone.
-
-
- if this message mentioned everyone; otherwise .
-
-
-
-
- Gets the content for this message.
-
-
- This will be empty if the privileged is disabled.
-
-
- A string that contains the body of the message; note that this field may be empty if there is an embed.
-
-
-
-
- Gets the clean content for this message.
-
-
- This will be empty if the privileged is disabled.
-
-
- A string that contains the body of the message stripped of mentions, markdown, emojis and pings; note that this field may be empty if there is an embed.
-
-
-
-
- Gets the time this message was sent.
-
-
- Time of when the message was sent.
-
-
-
-
- Gets the time of this message's last edit.
-
-
- Time of when the message was last edited; if the message is never edited.
-
-
-
-
- Gets the source channel of the message.
-
-
-
-
- Gets the author of this message.
-
-
-
-
- Gets the thread that was started from this message.
-
-
- An object if this message has thread attached; otherwise .
-
-
-
-
- Gets all attachments included in this message.
-
-
- This property gets a read-only collection of attachments associated with this message. Depending on the
- user's end-client, a sent message may contain one or more attachments. For example, mobile users may
- attach more than one file in their message, while the desktop client only allows for one.
-
-
- A read-only collection of attachments.
-
-
-
-
- Gets all embeds included in this message.
-
-
- This property gets a read-only collection of embeds associated with this message. Depending on the
- message, a sent message may contain one or more embeds. This is usually true when multiple link previews
- are generated; however, only one can be featured.
-
-
- A read-only collection of embed objects.
-
-
-
-
- Gets all tags included in this message's content.
-
-
-
-
- Gets the IDs of channels mentioned in this message.
-
-
- A read-only collection of channel IDs.
-
-
-
-
- Gets the IDs of roles mentioned in this message.
-
-
- A read-only collection of role IDs.
-
-
-
-
- Gets the IDs of users mentioned in this message.
-
-
- A read-only collection of user IDs.
-
-
-
-
- Gets the activity associated with a message.
-
-
- Sent with Rich Presence-related chat embeds. This often refers to activity that requires end-user's
- interaction, such as a Spotify Invite activity.
-
-
- A message's activity, if any is associated.
-
-
-
-
- Gets the application associated with a message.
-
-
- Sent with Rich-Presence-related chat embeds.
-
-
- A message's application, if any is associated.
-
-
-
-
- Gets the reference to the original message if it is a crosspost, channel follow add, pin, or reply message.
-
-
- Sent with cross-posted messages, meaning they were published from news channels
- and received by subscriber channels, channel follow adds, pins, and message replies.
-
-
- A message's reference, if any is associated.
-
-
-
-
- Gets all reactions included in this message.
-
-
-
-
- The 's attached to this message
-
-
-
-
- Gets all stickers items included in this message.
-
-
- A read-only collection of sticker item objects.
-
-
-
-
- Gets the flags related to this message.
-
-
- This value is determined by bitwise OR-ing values together.
-
-
- A message's flags, if any is associated.
-
-
-
-
- Gets the interaction this message is a response to.
-
-
- A if the message is a response to an interaction; otherwise .
-
-
-
-
- Gets the data of the role subscription purchase or renewal that prompted this message.
-
-
- A if the message is a role subscription purchase message; otherwise .
-
-
-
-
- Adds a reaction to this message.
-
-
- The following example adds the reaction, 💕, to the message.
-
- await msg.AddReactionAsync(new Emoji("\U0001f495"));
-
-
- The emoji used to react to this message.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for adding a reaction to this message.
-
-
-
-
-
- Removes a reaction from message.
-
-
- The following example removes the reaction, 💕, added by the message author from the message.
-
- await msg.RemoveReactionAsync(new Emoji("\U0001f495"), msg.Author);
-
-
- The emoji used to react to this message.
- The user that added the emoji.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for removing a reaction to this message.
-
-
-
-
-
- Removes a reaction from message.
-
-
- The following example removes the reaction, 💕, added by the user with ID 84291986575613952 from the message.
-
- await msg.RemoveReactionAsync(new Emoji("\U0001f495"), 84291986575613952);
-
-
- The emoji used to react to this message.
- The ID of the user that added the emoji.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for removing a reaction to this message.
-
-
-
-
-
- Removes all reactions from this message.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Removes all reactions with a specific emoji from this message.
-
- The emoji used to react to this message.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Gets all users that reacted to a message with a given emote.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the users as a
- collection.
-
-
- Do not fetch too many users at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of reactions specified under .
- The library will attempt to split up the requests according to your and
- . In other words, should the user request 500 reactions,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
-
- The following example gets the users that have reacted with the emoji 💕 to the message.
-
- var emoji = new Emoji("\U0001f495");
- var reactedUsers = await message.GetReactionUsersAsync(emoji, 100).FlattenAsync();
-
-
- The emoji that represents the reaction that you wish to get.
- The number of users to request.
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Represents a partial within a message.
-
-
-
-
- Gets the snowflake id of the interaction.
-
-
-
-
- Gets the type of the interaction.
-
-
-
-
- Gets the name of the application command used.
-
-
-
-
- Gets the who invoked the interaction.
-
-
-
-
- Represents a generic reaction object.
-
-
-
-
- The used in the reaction.
-
-
-
-
- Represents a generic message sent by the system.
-
-
-
-
- Represents a generic message sent by a user.
-
-
-
-
- Gets the resolved data if the message has components. otherwise.
-
-
-
-
- Gets the referenced message if it is a crosspost, channel follow add, pin, or reply message.
-
-
- The referenced message, if any is associated and still exists.
-
-
-
-
- Modifies this message.
-
-
- This method modifies this message with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
-
- The following example replaces the content of the message with Hello World!.
-
- await msg.ModifyAsync(x => x.Content = "Hello World!");
-
-
- A delegate containing the properties to modify the message with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Adds this message to its channel's pinned messages.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for pinning this message.
-
-
-
-
- Removes this message from its channel's pinned messages.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for unpinning this message.
-
-
-
-
- Publishes (crossposts) this message.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for publishing this message.
-
-
-
- This call will throw an if attempted in a non-news channel.
-
- This method will publish (crosspost) the message. Please note, publishing (crossposting), is only available in news channels.
-
-
-
-
- Transforms this message's text into a human-readable form by resolving its tags.
-
- Determines how the user tag should be handled.
- Determines how the channel tag should be handled.
- Determines how the role tag should be handled.
- Determines how the @everyone tag should be handled.
- Determines how the emoji tag should be handled.
-
-
-
- An activity object found in a sent message.
-
-
-
- This class refers to an activity object, visually similar to an embed within a message. However, a message
- activity is interactive as opposed to a standard static embed.
-
- For example, a Spotify party invitation counts as a message activity.
-
-
-
-
- Gets the type of activity of this message.
-
-
-
-
- Gets the party ID of this activity, if any.
-
-
-
-
- Gets the snowflake ID of the application.
-
-
-
-
- Gets the ID of the embed's image asset.
-
-
-
-
- Gets the application's description.
-
-
-
-
- Gets the ID of the application's icon.
-
-
-
-
- Gets the Url of the application's icon.
-
-
-
-
- Gets the name of the application.
-
-
-
-
- Default value for flags, when none are given to a message.
-
-
-
-
- Flag given to messages that have been published to subscribed
- channels (via Channel Following).
-
-
-
-
- Flag given to messages that originated from a message in another
- channel (via Channel Following).
-
-
-
-
- Flag given to messages that do not display any embeds.
-
-
-
-
- Flag given to messages that the source message for this crosspost
- has been deleted (via Channel Following).
-
-
-
-
- Flag given to messages that came from the urgent message system.
-
-
-
-
- Flag given to messages has an associated thread, with the same id as the message
-
-
-
-
- Flag given to messages that is only visible to the user who invoked the Interaction.
-
-
-
-
- Flag given to messages that is an Interaction Response and the bot is "thinking"
-
-
-
-
- Flag given to messages that failed to mention some roles and add their members to the thread.
-
-
-
-
- Flag give to messages that will not trigger push and desktop notifications.
-
-
-
-
- This message is a voice message.
-
-
-
-
- Represents a partial within a message.
-
- The type of the user.
-
-
-
- Gets the snowflake id of the interaction.
-
-
-
-
- Gets the type of the interaction.
-
-
-
-
- Gets the name of the application command used.
-
-
-
-
- Gets the who invoked the interaction.
-
-
-
-
- Properties that are used to modify an with the specified changes.
-
-
- The content of a message can be cleared with if and only if an
- is present.
-
-
-
-
-
- Gets or sets the content of the message.
-
-
- This must be less than the constant defined by .
-
-
-
-
- Gets or sets a single embed for this message.
-
-
- This property will be added to the array, in the future please use the array rather than this property.
-
-
-
-
- Gets or sets the embeds of the message.
-
-
-
-
- Gets or sets the components for this message.
-
-
-
-
- Gets or sets the flags of the message.
-
-
- Only can be set/unset and you need to be
- the author of the message.
-
-
-
-
- Gets or sets the allowed mentions of the message.
-
-
-
-
- Gets or sets the attachments for the message.
-
-
-
-
- Contains the IDs sent from a crossposted message or inline reply.
-
-
-
-
- Gets the Message ID of the original message.
-
-
-
-
- Gets the Channel ID of the original message.
-
-
- It only will be the default value (zero) if it was instantiated with a in the constructor.
-
-
-
-
- Gets the Guild ID of the original message.
-
-
-
-
- Gets whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message
- Defaults to true.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The ID of the message that will be referenced. Used to reply to specific messages and the only parameter required for it.
-
-
- The ID of the channel that will be referenced. It will be validated if sent.
-
-
- The ID of the guild that will be referenced. It will be validated if sent.
-
-
- Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message. Defaults to true.
-
-
-
-
- Gets a collection of resolved in the message.
-
-
-
-
- Gets a collection of resolved in the message.
-
-
-
-
- Gets a collection of resolved in the message.
-
-
-
-
- Gets a collection of resolved in the message.
-
-
-
-
- Represents a role subscription data in .
-
-
-
-
- Gets the id of the sku and listing that the user is subscribed to.
-
-
-
-
- Gets the name of the tier that the user is subscribed to.
-
-
-
-
- Gets the cumulative number of months that the user has been subscribed for.
-
-
-
-
- Gets whether this notification is for a renewal rather than a new purchase.
-
-
-
-
- Specifies the source of the Discord message.
-
-
-
-
- The message is sent by the system.
-
-
-
-
- The message is sent by a user.
-
-
-
-
- The message is sent by a bot.
-
-
-
-
- The message is sent by a webhook.
-
-
-
-
- Specifies the type of message.
-
-
-
-
- The default message type.
-
-
-
-
- The message when a recipient is added.
-
-
-
-
- The message when a recipient is removed.
-
-
-
-
- The message when a user is called.
-
-
-
-
- The message when a channel name is changed.
-
-
-
-
- The message when a channel icon is changed.
-
-
-
-
- The message when another message is pinned.
-
-
-
-
- The message when a new member joined.
-
-
-
-
- The message for when a user boosts a guild.
-
-
-
-
- The message for when a guild reaches Tier 1 of Nitro boosts.
-
-
-
-
- The message for when a guild reaches Tier 2 of Nitro boosts.
-
-
-
-
- The message for when a guild reaches Tier 3 of Nitro boosts.
-
-
-
-
- The message for when a news channel subscription is added to a text channel.
-
-
-
-
- The message for when a guild is disqualified from discovery.
-
-
-
-
- The message for when a guild is requalified for discovery.
-
-
-
-
- The message for when the initial warning is sent for the initial grace period discovery.
-
-
-
-
- The message for when the final warning is sent for the initial grace period discovery.
-
-
-
-
- The message for when a thread is created.
-
-
-
-
- The message is an inline reply.
-
-
- Only available in API v8.
-
-
-
-
- The message is an Application Command.
-
-
- Only available in API v8.
-
-
-
-
- The message that starts a thread.
-
-
- Only available in API v9.
-
-
-
-
- The message for an invite reminder.
-
-
-
-
- The message for a context menu command.
-
-
-
-
- The message for an automod action.
-
-
-
-
- The message for a role subscription purchase.
-
-
-
-
- The message for an interaction premium upsell.
-
-
-
-
- The message for a stage start.
-
-
-
-
- The message for a stage end.
-
-
-
-
- The message for a stage speaker.
-
-
-
-
- The message for a stage raise hand.
-
-
-
-
- The message for a stage raise hand.
-
-
-
-
- The message for a guild application premium subscription.
-
-
-
-
- A metadata containing reaction information.
-
-
-
-
- Gets the number of reactions.
-
-
- An representing the number of this reactions that has been added to this message.
-
-
-
-
- Gets a value that indicates whether the current user has reacted to this.
-
-
- if the user has reacted to the message; otherwise .
-
-
-
-
- Defines the types of formats for stickers.
-
-
-
-
- Default value for a sticker format type.
-
-
-
-
- The sticker format type is png.
-
-
-
-
- The sticker format type is apng.
-
-
-
-
- The sticker format type is lottie.
-
-
-
-
- Specifies the handling type the tag should use.
-
-
-
-
-
-
- Tag handling is ignored (e.g. <@53905483156684800> -> <@53905483156684800>).
-
-
-
-
- Removes the tag entirely.
-
-
-
-
- Resolves to username (e.g. <@53905483156684800> -> @Voltana).
-
-
-
-
- Resolves to username without mention prefix (e.g. <@53905483156684800> -> Voltana).
-
-
-
-
- Resolves to username with discriminator value. (e.g. <@53905483156684800> -> @Voltana#8252).
-
-
-
-
- Resolves to username with discriminator value without mention prefix. (e.g. <@53905483156684800> -> Voltana#8252).
-
-
-
-
- Sanitizes the tag (e.g. <@53905483156684800> -> <@53905483156684800> (w/ nbsp)).
-
-
-
- Specifies the type of Discord tag.
-
-
- The object is an user mention.
-
-
- The object is a channel mention.
-
-
- The object is a role mention.
-
-
- The object is an everyone mention.
-
-
- The object is a here mention.
-
-
- The object is an emoji.
-
-
-
- Represents a class used to make timestamps in messages. see .
-
-
-
-
- Gets the time for this timestamp tag.
-
-
-
-
- Gets the style of this tag. if none was provided.
-
-
-
-
- Creates a new from the provided time.
-
- The time for this timestamp tag.
- The style for this timestamp tag.
-
-
-
- Converts the current timestamp tag to the string representation supported by discord.
-
- If the is null then the default 0 will be used.
-
-
-
- Will use the provided if provided. If this value is null, it will default to .
-
- A string that is compatible in a discord message, ex: <t:1625944201:f>
-
-
-
- Converts the current timestamp tag to the string representation supported by discord.
-
- If the is null then the default 0 will be used.
-
-
- The formatting style for this tag.
- A string that is compatible in a discord message, ex: <t:1625944201:f>
-
-
-
- Creates a new timestamp tag with the specified object.
-
- The time of this timestamp tag.
- The style for this timestamp tag.
- The newly create timestamp tag.
-
-
-
- Creates a new timestamp tag with the specified object.
-
- The time of this timestamp tag.
- The style for this timestamp tag.
- The newly create timestamp tag.
-
-
-
- Immediately formats the provided time and style into a timestamp string.
-
- The time of this timestamp tag.
- The style for this timestamp tag.
- The newly create timestamp string.
-
-
-
- Immediately formats the provided time and style into a timestamp string.
-
- The time of this timestamp tag.
- The style for this timestamp tag.
- The newly create timestamp string.
-
-
-
- Represents a set of styles to use with a
-
-
-
-
- A short time string: 16:20
-
-
-
-
- A long time string: 16:20:30
-
-
-
-
- A short date string: 20/04/2021
-
-
-
-
- A long date string: 20 April 2021
-
-
-
-
- A short datetime string: 20 April 2021 16:20
-
-
-
-
- A long datetime string: Tuesday, 20 April 2021 16:20
-
-
-
-
- The relative time to the user: 2 months ago
-
-
-
-
- Application command permissions allow you to enable or disable commands for specific users or roles within a guild.
-
-
-
-
- The id of the role or user.
-
-
-
-
- The target of this permission.
-
-
-
-
- to allow, otherwise .
-
-
-
-
- Creates a new .
-
- The id you want to target this permission value for.
- The type of the targetId parameter.
- The value of this permission.
-
-
-
- Creates a new targeting .
-
- The user you want to target this permission value for.
- The value of this permission.
-
-
-
- Creates a new targeting .
-
- The role you want to target this permission value for.
- The value of this permission.
-
-
-
- Creates a new targeting .
-
- The channel you want to target this permission value for.
- The value of this permission.
-
-
-
- Creates a new targeting @everyone in a guild.
-
- Id of the target guild.
- The value of this permission.
-
- Instance of targeting @everyone in a guild.
-
-
-
-
- Creates a new targeting @everyone in a guild.
-
- Target guild.
- The value of this permission.
-
- Instance of targeting @everyone in a guild.
-
-
-
-
- Creates a new targeting every channel in a guild.
-
- Id of the target guild.
- The value of this permission.
-
- Instance of targeting every channel in a guild.
-
-
-
-
- Creates a new targeting every channel in a guild.
-
- Target guild.
- The value of this permission.
-
- Instance of targeting every channel in a guild.
-
-
-
-
- Specifies the target of the permission.
-
-
-
-
- The target of the permission is a role.
-
-
-
-
- The target of the permission is a user.
-
-
-
-
- The target of the permission is a channel.
-
-
-
- Defines the available permissions for a channel.
-
-
-
- Allows creation of instant invites.
-
-
-
-
- Allows management and editing of channels.
-
-
-
-
- Allows for the addition of reactions to messages.
-
-
-
-
- Allows guild members to view a channel, which includes reading messages in text channels.
-
-
-
-
- Allows for sending messages in a channel.
-
-
-
-
- Allows for sending of text-to-speech messages.
-
-
-
-
- Allows for deletion of other users messages.
-
-
-
-
- Allows links sent by users with this permission will be auto-embedded.
-
-
-
-
- Allows for uploading images and files.
-
-
-
-
- Allows for reading of message history.
-
-
-
-
- Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all
- online users in a channel.
-
-
-
-
- Allows the usage of custom emojis from other servers.
-
-
-
-
- Allows for joining of a voice channel.
-
-
-
-
- Allows for speaking in a voice channel.
-
-
-
-
- Allows for muting members in a voice channel.
-
-
-
-
- Allows for deafening of members in a voice channel.
-
-
-
-
- Allows for moving of members between voice channels.
-
-
-
-
- Allows for using voice-activity-detection in a voice channel.
-
-
-
-
- Allows for using priority speaker in a voice channel.
-
-
-
-
- Allows video streaming in a voice channel.
-
-
-
-
- Allows management and editing of roles.
-
-
-
-
- Allows management and editing of webhooks.
-
-
-
-
- Allows management and editing of emojis.
-
-
-
-
- Allows members to use slash commands in text channels.
-
-
-
-
- Allows for requesting to speak in stage channels. (This permission is under active development and may be changed or removed.)
-
-
-
-
- Allows for deleting and archiving threads, and viewing all private threads
-
-
-
-
- Allows for creating public threads.
-
-
-
-
- Allows for creating private threads.
-
-
-
-
- Allows the usage of custom stickers from other servers.
-
-
-
-
- Allows for sending messages in threads.
-
-
-
-
- Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.
-
-
-
-
- Allows for using the soundboard in a voice channel.
-
-
-
-
- Allows members to edit and cancel events in this channel.
-
-
-
-
- Allows sending voice messages.
-
-
-
-
- Gets a blank that grants no permissions.
-
-
- A structure that does not contain any set permissions.
-
-
-
-
- Gets a that grants all permissions for text channels.
-
-
-
-
- Gets a that grants all permissions for voice channels.
-
-
-
-
- Gets a that grants all permissions for stage channels.
-
-
-
-
- Gets a that grants all permissions for category channels.
-
-
-
-
- Gets a that grants all permissions for direct message channels.
-
-
-
-
- Gets a that grants all permissions for group channels.
-
-
-
-
- Gets a that grants all permissions for forum channels.
-
-
-
-
- Gets a that grants all permissions for a given channel type.
-
- Unknown channel type.
-
-
- Gets a packed value representing all the permissions in this .
-
-
- If , a user may create invites.
-
-
- If , a user may create, delete and modify this channel.
-
-
- If , a user may add reactions.
-
-
- If , a user may view channels.
-
-
- If , a user may send messages.
-
-
- If , a user may send text-to-speech messages.
-
-
- If , a user may delete messages.
-
-
- If , Discord will auto-embed links sent by this user.
-
-
- If , a user may send files.
-
-
- If , a user may read previous messages.
-
-
- If , a user may mention @everyone.
-
-
- If , a user may use custom emoji from other guilds.
-
-
- If , a user may connect to a voice channel.
-
-
- If , a user may speak in a voice channel.
-
-
- If , a user may mute users.
-
-
- If , a user may deafen users.
-
-
- If , a user may move other users between voice channels.
-
-
- If , a user may use voice-activity-detection rather than push-to-talk.
-
-
- If , a user may use priority speaker in a voice channel.
-
-
- If , a user may stream video in a voice channel.
-
-
- If , a user may adjust role permissions. This also implicitly grants all other permissions.
-
-
- If , a user may edit the webhooks for this channel.
-
-
- If , a user may use application commands in this guild.
-
-
- If , a user may request to speak in stage channels.
-
-
- If , a user may manage threads in this guild.
-
-
- If , a user may create public threads in this guild.
-
-
- If , a user may create private threads in this guild.
-
-
- If , a user may use external stickers in this guild.
-
-
- If , a user may send messages in threads in this guild.
-
-
- If , a user launch application activities in voice channels in this guild.
-
-
- If , a user can use soundboard in a voice channel.
-
-
- If , a user can edit and cancel events in this channel.
-
-
- If , a user can send voice messages in this channel.
-
-
- Creates a new with the provided packed value.
-
-
- Creates a new with the provided permissions.
-
-
- Creates a new from this one, changing the provided non-null permissions.
-
-
-
- Returned when fetching the permissions for a command in a guild.
-
-
-
-
- The id of the command.
-
-
-
-
- The id of the application the command belongs to.
-
-
-
-
- The id of the guild.
-
-
-
-
- The permissions for the command in the guild.
-
-
-
- Defines the available permissions for a channel.
-
-
-
- Allows creation of instant invites.
-
-
-
-
- Allows kicking members.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows banning members.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows all permissions and bypasses channel permission overwrites.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows management and editing of channels.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows management and editing of the guild.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows for viewing of guild insights
-
-
-
-
- Allows for the addition of reactions to messages.
-
-
-
-
- Allows for viewing of audit logs.
-
-
-
-
- Allows guild members to view a channel, which includes reading messages in text channels.
-
-
-
-
- Allows for sending messages in a channel
-
-
-
-
- Allows for sending of text-to-speech messages.
-
-
-
-
- Allows for deletion of other users messages.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows links sent by users with this permission will be auto-embedded.
-
-
-
-
- Allows for uploading images and files.
-
-
-
-
- Allows for reading of message history.
-
-
-
-
- Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all
- online users in a channel.
-
-
-
-
- Allows the usage of custom emojis from other servers.
-
-
-
-
- Allows for joining of a voice channel.
-
-
-
-
- Allows for speaking in a voice channel.
-
-
-
-
- Allows for muting members in a voice channel.
-
-
-
-
- Allows for deafening of members in a voice channel.
-
-
-
-
- Allows for moving of members between voice channels.
-
-
-
-
- Allows for using voice-activity-detection in a voice channel.
-
-
-
-
- Allows for using priority speaker in a voice channel.
-
-
-
-
- Allows video streaming in a voice channel.
-
-
-
-
- Allows for modification of own nickname.
-
-
-
-
- Allows for modification of other users nicknames.
-
-
-
-
- Allows management and editing of roles.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows management and editing of webhooks.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows management and editing of emojis and stickers.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows members to use application commands like slash commands and context menus in text channels.
-
-
-
-
- Allows for requesting to speak in stage channels.
-
-
-
-
- Allows for creating, editing, and deleting guild scheduled events.
-
-
-
-
- Allows for deleting and archiving threads, and viewing all private threads.
-
-
- This permission requires the owner account to use two-factor
- authentication when used on a guild that has server-wide 2FA enabled.
-
-
-
-
- Allows for creating public threads.
-
-
-
-
- Allows for creating private threads.
-
-
-
-
- Allows the usage of custom stickers from other servers.
-
-
-
-
- Allows for sending messages in threads.
-
-
-
-
- Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.
-
-
-
-
- Allows for timing out users.
-
-
-
-
- Allows for viewing role subscription insights.
-
-
-
-
- Allows for using the soundboard.
-
-
-
-
- Allows sending voice messages.
-
-
-
- Gets a blank that grants no permissions.
-
-
- Gets a that grants all guild permissions for webhook users.
-
-
- Gets a that grants all guild permissions.
-
-
- Gets a packed value representing all the permissions in this .
-
-
- If , a user may create invites.
-
-
- If , a user may ban users from the guild.
-
-
- If , a user may kick users from the guild.
-
-
- If , a user is granted all permissions, and cannot have them revoked via channel permissions.
-
-
- If , a user may create, delete and modify channels.
-
-
- If , a user may adjust guild properties.
-
-
- If , a user may add reactions.
-
-
- If , a user may view the audit log.
-
-
- If , a user may view the guild insights.
-
-
- If True, a user may view channels.
-
-
- If True, a user may send messages.
-
-
- If , a user may send text-to-speech messages.
-
-
- If , a user may delete messages.
-
-
- If , Discord will auto-embed links sent by this user.
-
-
- If , a user may send files.
-
-
- If , a user may read previous messages.
-
-
- If , a user may mention @everyone.
-
-
- If , a user may use custom emoji from other guilds.
-
-
- If , a user may connect to a voice channel.
-
-
- If , a user may speak in a voice channel.
-
-
- If , a user may mute users.
-
-
- If , a user may deafen users.
-
-
- If , a user may move other users between voice channels.
-
-
- If , a user may use voice-activity-detection rather than push-to-talk.
-
-
- If True, a user may use priority speaker in a voice channel.
-
-
- If True, a user may stream video in a voice channel.
-
-
- If , a user may change their own nickname.
-
-
- If , a user may change the nickname of other users.
-
-
- If , a user may adjust roles.
-
-
- If , a user may edit the webhooks for this guild.
-
-
- If , a user may edit the emojis and stickers for this guild.
-
-
- If , a user may use slash commands in this guild.
-
-
- If , a user may request to speak in stage channels.
-
-
- If , a user may create, edit, and delete events.
-
-
- If , a user may manage threads in this guild.
-
-
- If , a user may create public threads in this guild.
-
-
- If , a user may create private threads in this guild.
-
-
- If , a user may use external stickers in this guild.
-
-
- If , a user may send messages in threads in this guild.
-
-
- If , a user launch application activities in voice channels in this guild.
-
-
- If , a user can timeout other users in this guild.
-
-
- If , a user can use soundboard in this guild.
-
-
- If , a user can view monetization analytics in this guild.
-
-
- If , a user can send voice messages in this channel.
-
-
- Creates a new with the provided packed value.
-
-
- Creates a new with the provided packed value after converting to ulong.
-
-
- Creates a new structure with the provided permissions.
-
-
- Creates a new from this one, changing the provided non-null permissions.
-
-
-
- Returns a value that indicates if a specific is enabled
- in these permissions.
-
- The permission value to check for.
- if the permission is enabled, otherwise.
-
-
-
- Returns a containing all of the
- flags that are enabled.
-
- A containing flags. Empty if none are enabled.
-
-
-
- Represent a permission object.
-
-
-
-
- Gets the unique identifier for the object this overwrite is targeting.
-
-
-
-
- Gets the type of object this overwrite is targeting.
-
-
-
-
- Gets the permissions associated with this overwrite entry.
-
-
-
-
- Initializes a new with provided target information and modified permissions.
-
-
-
-
- Represents a container for a series of overwrite permissions.
-
-
-
-
- Gets a blank that inherits all permissions.
-
-
-
-
- Gets a that grants all permissions for the given channel.
-
- Unknown channel type.
-
-
-
- Gets a that denies all permissions for the given channel.
-
- Unknown channel type.
-
-
-
- Gets a packed value representing all the allowed permissions in this .
-
-
-
-
- Gets a packed value representing all the denied permissions in this .
-
-
-
- If Allowed, a user may create invites.
-
-
- If Allowed, a user may create, delete and modify this channel.
-
-
- If Allowed, a user may add reactions.
-
-
- If Allowed, a user may join channels.
-
-
- If Allowed, a user may send messages.
-
-
- If Allowed, a user may send text-to-speech messages.
-
-
- If Allowed, a user may delete messages.
-
-
- If Allowed, Discord will auto-embed links sent by this user.
-
-
- If Allowed, a user may send files.
-
-
- If Allowed, a user may read previous messages.
-
-
- If Allowed, a user may mention @everyone.
-
-
- If Allowed, a user may use custom emoji from other guilds.
-
-
- If Allowed, a user may connect to a voice channel.
-
-
- If Allowed, a user may speak in a voice channel.
-
-
- If Allowed, a user may mute users.
-
-
- If Allowed, a user may deafen users.
-
-
- If Allowed, a user may move other users between voice channels.
-
-
- If Allowed, a user may use voice-activity-detection rather than push-to-talk.
-
-
- If Allowed, a user may use priority speaker in a voice channel.
-
-
- If Allowed, a user may go live in a voice channel.
-
-
- If Allowed, a user may adjust role permissions. This also implicitly grants all other permissions.
-
-
- If True, a user may edit the webhooks for this channel.
-
-
- If , a user may use slash commands in this guild.
-
-
- If , a user may request to speak in stage channels.
-
-
- If , a user may manage threads in this guild.
-
-
- If , a user may create public threads in this guild.
-
-
- If , a user may create private threads in this guild.
-
-
- If , a user may use external stickers in this guild.
-
-
- If , a user may send messages in threads in this guild.
-
-
- If , a user launch application activities in voice channels in this guild.
-
-
- Creates a new OverwritePermissions with the provided allow and deny packed values.
-
-
- Creates a new OverwritePermissions with the provided allow and deny packed values after converting to ulong.
-
-
-
- Initializes a new struct with the provided permissions.
-
-
-
-
- Initializes a new from the current one, changing the provided
- non-null permissions.
-
-
-
-
- Creates a of all the values that are allowed.
-
- A of all allowed flags. If none, the list will be empty.
-
-
-
- Creates a of all the values that are denied.
-
- A of all denied flags. If none, the list will be empty.
-
-
- Specifies the permission value.
-
-
- Allows this permission.
-
-
- Denies this permission.
-
-
- Inherits the permission settings.
-
-
-
- Represents a color used in Discord.
-
-
-
- Gets the max decimal value of color.
-
-
- Gets the default user color value.
-
-
- Gets the teal color value.
- A color struct with the hex value of 1ABC9C.
-
-
- Gets the dark teal color value.
- A color struct with the hex value of 11806A.
-
-
- Gets the green color value.
- A color struct with the hex value of 2ECC71.
-
-
- Gets the dark green color value.
- A color struct with the hex value of 1F8B4C.
-
-
- Gets the blue color value.
- A color struct with the hex value of 3498DB.
-
-
- Gets the dark blue color value.
- A color struct with the hex value of 206694.
-
-
- Gets the purple color value.
- A color struct with the hex value of 9B59B6.
-
-
- Gets the dark purple color value.
- A color struct with the hex value of 71368A.
-
-
- Gets the magenta color value.
- A color struct with the hex value of E91E63.
-
-
- Gets the dark magenta color value.
- A color struct with the hex value of AD1457.
-
-
- Gets the gold color value.
- A color struct with the hex value of F1C40F.
-
-
- Gets the light orange color value.
- A color struct with the hex value of C27C0E.
-
-
- Gets the orange color value.
- A color struct with the hex value of E67E22.
-
-
- Gets the dark orange color value.
- A color struct with the hex value of A84300.
-
-
- Gets the red color value.
- A color struct with the hex value of E74C3C.
-
-
- Gets the dark red color value.
- A color struct with the hex value of 992D22.
-
-
- Gets the light grey color value.
- A color struct with the hex value of 979C9F.
-
-
- Gets the lighter grey color value.
- A color struct with the hex value of 95A5A6.
-
-
- Gets the dark grey color value.
- A color struct with the hex value of 607D8B.
-
-
- Gets the darker grey color value.
- A color struct with the hex value of 546E7A.
-
-
- Gets the encoded value for this color.
-
- This value is encoded as an unsigned integer value. The most-significant 8 bits contain the red value,
- the middle 8 bits contain the green value, and the least-significant 8 bits contain the blue value.
-
-
-
- Gets the red component for this color.
-
-
- Gets the green component for this color.
-
-
- Gets the blue component for this color.
-
-
-
- Initializes a struct with the given raw value.
-
-
- The following will create a color that has a hex value of
- #607D8B.
-
- Color darkGrey = new Color(0x607D8B);
-
-
- The raw value of the color (e.g. 0x607D8B).
- Value exceeds .
-
-
-
- Initializes a struct with the given RGB bytes.
-
-
- The following will create a color that has a value of
- #607D8B.
-
- Color darkGrey = new Color((byte)0b_01100000, (byte)0b_01111101, (byte)0b_10001011);
-
-
- The byte that represents the red color.
- The byte that represents the green color.
- The byte that represents the blue color.
- Value exceeds .
-
-
-
- Initializes a struct with the given RGB value.
-
-
- The following will create a color that has a value of
- #607D8B.
-
- Color darkGrey = new Color(96, 125, 139);
-
-
- The value that represents the red color. Must be within 0~255.
- The value that represents the green color. Must be within 0~255.
- The value that represents the blue color. Must be within 0~255.
- The argument value is not between 0 to 255.
-
-
-
- Initializes a struct with the given RGB float value.
-
-
- The following will create a color that has a value of
- #607c8c.
-
- Color darkGrey = new Color(0.38f, 0.49f, 0.55f);
-
-
- The value that represents the red color. Must be within 0~1.
- The value that represents the green color. Must be within 0~1.
- The value that represents the blue color. Must be within 0~1.
- The argument value is not between 0 to 1.
-
-
-
- Gets the hexadecimal representation of the color (e.g. #000ccc).
-
-
- A hexadecimal string of the color.
-
-
-
-
- Represents a generic role object to be given to a guild user.
-
-
-
-
- Gets the guild that owns this role.
-
-
- A guild representing the parent guild of this role.
-
-
-
-
- Gets the color given to users of this role.
-
-
- A struct representing the color of this role.
-
-
-
-
- Gets a value that indicates whether the role can be separated in the user list.
-
-
- if users of this role are separated in the user list; otherwise .
-
-
-
-
- Gets a value that indicates whether the role is managed by Discord.
-
-
- if this role is automatically managed by Discord; otherwise .
-
-
-
-
- Gets a value that indicates whether the role is mentionable.
-
-
- if this role may be mentioned in messages; otherwise .
-
-
-
-
- Gets the name of this role.
-
-
- A string containing the name of this role.
-
-
-
-
- Gets the icon of this role.
-
-
- A string containing the hash of this role's icon.
-
-
-
-
- Gets the unicode emoji of this role.
-
-
- This field is mutually exclusive with , either icon is set or emoji is set.
-
-
-
-
- Gets the permissions granted to members of this role.
-
-
- A struct that this role possesses.
-
-
-
-
- Gets this role's position relative to other roles in the same guild.
-
-
- An representing the position of the role in the role list of the guild.
-
-
-
-
- Gets the tags related to this role.
-
-
- A object containing all tags related to this role.
-
-
-
-
- Gets flags related to this role.
-
-
-
-
- Modifies this role.
-
-
- This method modifies this role with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
- A delegate containing the properties to modify the role with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Gets the image url of the icon role.
-
-
- An image url of the icon role.
-
-
-
-
- Properties that are used to reorder an .
-
-
-
-
- Gets the identifier of the role to be edited.
-
-
- A representing the snowflake identifier of the role to be modified.
-
-
-
-
- Gets the new zero-based position of the role.
-
-
- An representing the new zero-based position of the role.
-
-
-
-
- Initializes a with the given role ID and position.
-
- The ID of the role to be edited.
- The new zero-based position of the role.
-
-
-
- The role has no flags.
-
-
-
-
- Indicates that the role can be selected by members in an onboarding.
-
-
-
-
- Properties that are used to modify an with the specified changes.
-
-
- The following example modifies the role to a mentionable one, renames the role into Sonic, and
- changes the color to a light-blue.
-
- await role.ModifyAsync(x =>
- {
- x.Name = "Sonic";
- x.Color = new Color(0x1A50BC);
- x.Mentionable = true;
- });
-
-
-
-
-
-
- Gets or sets the name of the role.
-
-
- This value may not be set if the role is an @everyone role.
-
-
-
-
- Gets or sets the role's .
-
-
-
-
- Gets or sets the position of the role. This is 0-based!
-
-
- This value may not be set if the role is an @everyone role.
-
-
-
-
- Gets or sets the color of the role.
-
-
- This value may not be set if the role is an @everyone role.
-
-
-
-
- Gets or sets whether or not this role should be displayed independently in the user list.
-
-
- This value may not be set if the role is an @everyone role.
-
-
-
-
- Gets or sets the icon of the role.
-
-
- This value cannot be set at the same time as Emoji, as they are both exclusive.
-
- Setting an Icon will override a currently existing Emoji if present.
-
-
-
-
- Gets or sets the unicode emoji of the role.
-
-
- This value cannot be set at the same time as Icon, as they are both exclusive.
-
- Setting an Emoji will override a currently existing Icon if present.
-
-
-
-
- Gets or sets whether or not this role can be mentioned.
-
-
- This value may not be set if the role is an @everyone role.
-
-
-
-
- Provides tags related to a discord role.
-
-
-
-
- Gets the identifier of the bot that this role belongs to, if it does.
-
-
- A if this role belongs to a bot; otherwise
- .
-
-
-
-
- Gets the identifier of the integration that this role belongs to, if it does.
-
-
- A if this role belongs to an integration; otherwise
- .
-
-
-
-
- Gets if this role is the guild's premium subscriber (booster) role.
-
-
- if this role is the guild's premium subscriber role;
- otherwise .
-
-
-
-
- Represents a custom sticker within a guild.
-
-
-
-
- Gets the users id who uploaded the sticker.
-
-
- In order to get the author id, the bot needs the MANAGE_EMOJIS_AND_STICKERS permission.
-
-
-
-
- Gets the guild that this custom sticker is in.
-
-
-
-
- Modifies this sticker.
-
-
- This method modifies this sticker with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
-
- The bot needs the MANAGE_EMOJIS_AND_STICKERS permission within the guild in order to modify stickers.
-
-
- The following example replaces the name of the sticker with kekw.
-
- await sticker.ModifyAsync(x => x.Name = "kekw");
-
-
- A delegate containing the properties to modify the sticker with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Deletes the current sticker.
-
-
- The bot needs the MANAGE_EMOJIS_AND_STICKERS permission inside the guild in order to delete stickers.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous deletion operation.
-
-
-
-
- Represents a discord sticker.
-
-
-
-
- Gets the ID of this sticker.
-
-
- A snowflake ID associated with this sticker.
-
-
-
-
- Gets the ID of the pack of this sticker.
-
-
- A snowflake ID associated with the pack of this sticker.
-
-
-
-
- Gets the name of this sticker.
-
-
- A with the name of this sticker.
-
-
-
-
- Gets the description of this sticker.
-
-
- A with the description of this sticker.
-
-
-
-
- Gets the list of tags of this sticker.
-
-
- A read-only list with the tags of this sticker.
-
-
-
-
- Gets the type of this sticker.
-
-
-
-
- Gets the format type of this sticker.
-
-
- A with the format type of this sticker.
-
-
-
-
- Gets whether this guild sticker can be used, may be false due to loss of Server Boosts.
-
-
-
-
- Gets the standard sticker's sort order within its pack.
-
-
-
-
- Gets the image url for this sticker.
-
-
-
-
- Represents a partial sticker item received with a message.
-
-
-
-
- The id of the sticker.
-
-
-
-
- The name of the sticker.
-
-
-
-
- The format of the sticker.
-
-
-
-
- Represents a discord sticker pack.
-
- The type of the stickers within the collection.
-
-
-
- Gets the id of the sticker pack.
-
-
-
-
- Gets a collection of the stickers in the pack.
-
-
-
-
- Gets the name of the sticker pack.
-
-
-
-
- Gets the id of the pack's SKU.
-
-
-
-
- Gets the id of a sticker in the pack which is shown as the pack's icon.
-
-
-
-
- Gets the description of the sticker pack.
-
-
-
-
- Gets the id of the sticker pack's banner image
-
-
-
-
- Represents a class used to modify stickers.
-
-
-
-
- Gets or sets the name of the sticker.
-
-
-
-
- Gets or sets the description of the sticker.
-
-
-
-
- Gets or sets the tags of the sticker.
-
-
-
-
- Represents a type of sticker..
-
-
-
-
- Represents a discord standard sticker, this type of sticker cannot be modified by an application.
-
-
-
-
- Represents a sticker that was created within a guild.
-
-
-
-
- Represents a Discord Team.
-
-
-
-
- Gets the team icon url.
-
-
-
-
- Gets the team unique identifier.
-
-
-
-
- Gets the members of this team.
-
-
-
-
- Gets the name of this team.
-
-
-
-
- Gets the user identifier that owns this team.
-
-
-
-
- Represents a Discord Team member.
-
-
-
-
- Gets the membership state of this team member.
-
-
-
-
- Gets the permissions of this team member.
-
-
-
-
- Gets the team unique identifier for this team member.
-
-
-
-
- Gets the Discord user of this team member.
-
-
-
-
- Represents the membership state of a team member.
-
-
-
-
- Properties that are used to add a new to the guild with the following parameters.
-
-
-
-
-
- Gets or sets the user's nickname.
-
-
- To clear the user's nickname, this value can be set to or
- .
-
-
-
-
- Gets or sets whether the user should be muted in a voice channel.
-
-
- If this value is set to , no user will be able to hear this user speak in the guild.
-
-
-
-
- Gets or sets whether the user should be deafened in a voice channel.
-
-
- If this value is set to , this user will not be able to hear anyone speak in the guild.
-
-
-
-
- Gets or sets the roles the user should have.
-
-
-
- To add a role to a user:
-
-
-
- To remove a role from a user:
-
-
-
-
-
-
- Gets or sets the roles the user should have.
-
-
-
- To add a role to a user:
-
-
-
- To remove a role from a user:
-
-
-
-
-
-
- Defines the types of clients a user can be active on.
-
-
-
-
- The user is active using the mobile application.
-
-
-
-
- The user is active using the desktop application.
-
-
-
-
- The user is active using the web application.
-
-
-
-
- The visibility of the connected account.
-
-
-
-
- Invisible to everyone except the user themselves.
-
-
-
-
- Visible to everyone.
-
-
-
-
- Represents public flags for a guild member.
-
-
-
-
- Member has no flags set.
-
-
-
-
- Member has left and rejoined the guild.
-
-
- Cannot be modified.
-
-
-
-
- Member has completed onboarding.
-
-
- Cannot be modified.
-
-
-
-
- Member bypasses guild verification requirements.
-
-
-
-
- Member has started onboarding.
-
-
- Cannot be modified.
-
-
-
-
- Properties that are used to modify an with the following parameters.
-
-
-
-
-
- Gets or sets whether the user should be muted in a voice channel.
-
-
- If this value is set to , no user will be able to hear this user speak in the guild.
-
-
-
-
- Gets or sets whether the user should be deafened in a voice channel.
-
-
- If this value is set to , this user will not be able to hear anyone speak in the guild.
-
-
-
-
- Gets or sets the user's nickname.
-
-
- To clear the user's nickname, this value can be set to or
- .
-
-
-
-
- Gets or sets the roles the user should have.
-
-
-
- To add a role to a user:
-
-
-
- To remove a role from a user:
-
-
-
-
-
-
- Gets or sets the roles the user should have.
-
-
-
- To add a role to a user:
-
-
-
- To remove a role from a user:
-
-
-
-
-
-
- Moves a user to a voice channel. If , this user will be disconnected from their current voice channel.
-
-
- This user MUST already be in a for this to work.
- When set, this property takes precedence over .
-
-
-
-
- Moves a user to a voice channel. Set to to disconnect this user from their current voice channel.
-
-
- This user MUST already be in a for this to work.
-
-
-
-
- Sets a timestamp how long a user should be timed out for.
-
-
- or a time in the past to clear a currently existing timeout.
-
-
-
-
- Gets or sets the flags of the guild member.
-
-
- Not all flags can be modified, these are reserved for Discord.
-
-
-
-
- Gets the ID of the connection account.
-
-
- A representing the unique identifier value of this connection.
-
-
-
-
- Gets the username of the connection account.
-
-
- A string containing the name of this connection.
-
-
-
-
- Gets the service of the connection (twitch, youtube).
-
-
- A string containing the name of this type of connection.
-
-
-
-
- Gets whether the connection is revoked.
-
-
- A value which if true indicates that this connection has been revoked, otherwise false.
-
-
-
-
- Gets a of integration partials.
-
-
-
-
- Gets whether the connection is verified.
-
-
-
-
- Gets whether friend sync is enabled for this connection.
-
-
-
-
- Gets whether activities related to this connection will be shown in presence updates.
-
-
-
-
- Visibility of this connection.
-
-
-
-
- Represents a Discord user that is in a group.
-
-
-
-
- Represents a generic guild user.
-
-
-
-
- Gets when this user joined the guild.
-
-
- A representing the time of which the user has joined the guild;
- when it cannot be obtained.
-
-
-
-
- Gets the displayed name for this user.
-
-
- A string representing the display name of the user; If the nickname is null, this will be the username.
-
-
-
-
- Gets the nickname for this user.
-
-
- A string representing the nickname of the user; if none is set.
-
-
-
-
- Gets the displayed avatar for this user.
-
-
- The users displayed avatar hash. If the user does not have a guild avatar, this will be the regular avatar.
- If the user also does not have a regular avatar, this will be .
-
-
-
-
- Gets the guild specific avatar for this user.
-
-
- The users guild avatar hash if they have one; otherwise .
-
-
-
-
- Gets the guild-level permissions for this user.
-
-
- A structure for this user, representing what
- permissions this user has in the guild.
-
-
-
-
- Gets the guild for this user.
-
-
- A guild object that this user belongs to.
-
-
-
-
- Gets the ID of the guild for this user.
-
-
- An representing the snowflake identifier of the guild that this user belongs to.
-
-
-
-
- Gets the date and time for when this user's guild boost began.
-
-
- A for when the user began boosting this guild; if they are not boosting the guild.
-
-
-
-
- Gets a collection of IDs for the roles that this user currently possesses in the guild.
-
-
- This property returns a read-only collection of the identifiers of the roles that this user possesses.
- For WebSocket users, a Roles property can be found in place of this property. Due to the REST
- implementation, only a collection of identifiers can be retrieved instead of the full role objects.
-
-
- A read-only collection of , each representing a snowflake identifier for a role that
- this user possesses.
-
-
-
-
- Whether the user has passed the guild's Membership Screening requirements.
-
-
-
-
- Gets the users position within the role hierarchy.
-
-
-
-
- Gets the date and time that indicates if and for how long a user has been timed out.
-
-
- or a timestamp in the past if the user is not timed out.
-
-
- A indicating how long the user will be timed out for.
-
-
-
-
- Gets the public flags for this guild member.
-
-
-
-
- Gets the level permissions granted to this user to a given channel.
-
-
- The following example checks if the current user has the ability to send a message with attachment in
- this channel; if so, uploads a file via .
-
- if (currentUser?.GetPermissions(targetChannel)?.AttachFiles)
- await targetChannel.SendFileAsync("fortnite.png");
-
-
- The channel to get the permission from.
-
- A structure representing the permissions that a user has in the
- specified channel.
-
-
-
-
- Gets the guild avatar URL for this user.
-
-
- This property retrieves a URL for this guild user's guild specific avatar. In event that the user does not have a valid guild avatar
- (i.e. their avatar identifier is not set), this method will return .
-
- The format to return.
- The size of the image to return in. This can be any power of two between 16 and 2048.
-
-
- A string representing the user's avatar URL; if the user does not have an avatar in place.
-
-
-
-
- Gets the display avatar URL for this user.
-
-
- This property retrieves an URL for this guild user's displayed avatar.
- If the user does not have a guild avatar, this will be the user's regular avatar.
-
- The format to return.
- The size of the image to return in. This can be any power of two between 16 and 2048.
-
- A string representing the URL of the displayed avatar for this user. if the user does not have an avatar in place.
-
-
-
-
- Kicks this user from this guild.
-
- The reason for the kick which will be recorded in the audit log.
- The options to be used when sending the request.
-
- A task that represents the asynchronous kick operation.
-
-
-
-
- Modifies this user's properties in this guild.
-
-
- This method modifies the current guild user with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
- The delegate containing the properties to modify the user with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
-
-
-
- Adds the specified role to this user in the guild.
-
- The role to be added to the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role addition operation.
-
-
-
-
- Adds the specified role to this user in the guild.
-
- The role to be added to the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role addition operation.
-
-
-
-
- Adds the specified to this user in the guild.
-
- The roles to be added to the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role addition operation.
-
-
-
-
- Adds the specified to this user in the guild.
-
- The roles to be added to the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role addition operation.
-
-
-
-
- Removes the specified from this user in the guild.
-
- The role to be removed from the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role removal operation.
-
-
-
-
- Removes the specified from this user in the guild.
-
- The role to be removed from the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role removal operation.
-
-
-
-
- Removes the specified from this user in the guild.
-
- The roles to be removed from the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role removal operation.
-
-
-
-
- Removes the specified from this user in the guild.
-
- The roles to be removed from the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous role removal operation.
-
-
-
-
- Sets a timeout based on provided to this user in the guild.
-
- The indicating how long a user should be timed out for.
- The options to be used when sending the request.
-
- A task that represents the asynchronous timeout creation operation.
-
-
-
-
- Removes the current timeout from the user in this guild if one exists.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous timeout removal operation.
-
-
-
-
- Represents the user's presence status. This may include their online status and their activity.
-
-
-
-
- Gets the current status of this user.
-
-
-
-
- Gets the set of clients where this user is currently active.
-
-
-
-
- Gets the list of activities that this user currently has available.
-
-
-
-
- Represents the logged-in Discord user.
-
-
-
-
- Gets the email associated with this user.
-
-
-
-
- Indicates whether or not this user has their email verified.
-
-
- if this user's email has been verified; if not.
-
-
-
-
- Indicates whether or not this user has MFA enabled on their account.
-
-
- if this user has enabled multi-factor authentication on their account; if not.
-
-
-
-
- Gets the flags that are applied to a user's account.
-
-
- This value is determined by bitwise OR-ing values together.
-
-
- The value of flags for this user.
-
-
-
-
- Gets the type of Nitro subscription that is active on this user's account.
-
-
- This information may only be available with the identify OAuth scope.
-
-
- The type of Nitro subscription the user subscribes to, if any.
-
-
-
-
- Gets the user's chosen language option.
-
-
- The IETF language tag of the user's chosen region, if provided.
- For example, a locale of "English, US" is "en-US", "Chinese (Taiwan)" is "zh-TW", etc.
-
-
-
-
- Modifies the user's properties.
-
-
-
-
- Represents a Discord thread user.
-
-
-
-
- Gets the this user is in.
-
-
-
-
- Gets the timestamp for when this user joined this thread.
-
-
-
-
- Gets the guild this thread was created in.
-
-
-
-
- Gets the on the server this thread was created in.
-
-
-
-
- Represents a generic user.
-
-
-
-
- Gets the identifier of this user's avatar.
-
-
-
-
- Gets the avatar URL for this user.
-
-
- This property retrieves a URL for this user's avatar. In event that the user does not have a valid avatar
- (i.e. their avatar identifier is not set), this method will return . If you wish to
- retrieve the default avatar for this user, consider using (see
- example).
-
-
- The following example attempts to retrieve the user's current avatar and send it to a channel; if one is
- not set, a default avatar for this user will be returned instead.
-
-
- The format to return.
- The size of the image to return in. This can be any power of two between 16 and 2048.
-
-
- A string representing the user's avatar URL; if the user does not have an avatar in place.
-
-
-
-
- Gets the default avatar URL for this user.
-
-
- This property retrieves a URL for this user's default avatar generated by Discord (Discord logo followed
- by a random color as its background). This property will always return a value as it is calculated based
- on the user's (discriminator % 5).
-
-
- A string representing the user's avatar URL.
-
-
-
-
- Gets the per-username unique ID for this user. This will return "0000" for users who have migrated to new username system.
-
-
-
-
- Gets the per-username unique ID for this user. This will return 0 for users who have migrated to new username system.
-
-
-
-
- Gets a value that indicates whether this user is identified as a bot.
-
-
- This property retrieves a value that indicates whether this user is a registered bot application
- (indicated by the blue BOT tag within the official chat client).
-
-
- if the user is a bot application; otherwise .
-
-
-
-
- Gets a value that indicates whether this user is a webhook user.
-
-
- if the user is a webhook; otherwise .
-
-
-
-
- Gets the username for this user.
-
-
-
-
- Gets the public flags that are applied to this user's account.
-
-
- This value is determined by bitwise OR-ing values together.
-
-
- The value of public flags for this user.
-
-
-
-
- Gets the user's display name, if it is set. For bots, this will get the application name.
-
-
- This property will be if user has no display name set.
-
-
-
-
- Creates the direct message channel of this user.
-
-
- This method is used to obtain or create a channel used to send a direct message.
-
- In event that the current user cannot send a message to the target user, a channel can and will
- still be created by Discord. However, attempting to send a message will yield a
- with a 403 as its
- . There are currently no official workarounds by
- Discord.
-
-
-
- The following example attempts to send a direct message to the target user and logs the incident should
- it fail.
-
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for getting or creating a DM channel. The task result
- contains the DM channel associated with this user.
-
-
-
-
- Represents a user's voice connection status.
-
-
-
-
- Gets a value that indicates whether this user is deafened by the guild.
-
-
- if the user is deafened (i.e. not permitted to listen to or speak to others) by the guild;
- otherwise .
-
-
-
-
- Gets a value that indicates whether this user is muted (i.e. not permitted to speak via voice) by the
- guild.
-
-
- if this user is muted by the guild; otherwise .
-
-
-
-
- Gets a value that indicates whether this user has marked themselves as deafened.
-
-
- if this user has deafened themselves (i.e. not permitted to listen to or speak to others); otherwise .
-
-
-
-
- Gets a value that indicates whether this user has marked themselves as muted (i.e. not permitted to
- speak via voice).
-
-
- if this user has muted themselves; otherwise .
-
-
-
-
- Gets a value that indicates whether the user is muted by the current user.
-
-
- if the guild is temporarily blocking audio to/from this user; otherwise .
-
-
-
-
- Gets the voice channel this user is currently in.
-
-
- A generic voice channel object representing the voice channel that the user is currently in;
- if none.
-
-
-
-
- Gets the unique identifier for this user's voice session.
-
-
-
-
- Gets a value that indicates if this user is streaming in a voice channel.
-
-
- if the user is streaming; otherwise .
-
-
-
-
- Gets a value that indicates if the user is videoing in a voice channel.
-
-
- if the user has their camera turned on; otherwise .
-
-
-
-
- Gets the time on which the user requested to speak.
-
-
-
- Represents a Webhook Discord user.
-
-
- Gets the ID of a webhook.
-
-
-
- Specifies the type of subscription a user is subscribed to.
-
-
-
-
- No subscription.
-
-
-
-
- Nitro Classic subscription. Includes app perks like animated emojis and avatars, but not games.
-
-
-
-
- Nitro subscription. Includes app perks as well as the games subscription service.
-
-
-
-
- Nitro Basic subscription. Includes app perks like video backgrounds, sending bigger files.
-
-
-
-
- Properties that are used to modify the with the specified changes.
-
-
-
-
-
- Gets or sets the username.
-
-
-
-
- Gets or sets the avatar.
-
-
-
-
- Default value for flags, when none are given to an account.
-
-
-
-
- Flag given to users who are a Discord employee.
-
-
-
-
- Flag given to users who are owners of a partnered Discord server.
-
-
-
-
- Flag given to users in HypeSquad events.
-
-
-
-
- Flag given to users who have participated in the bug report program and are level 1.
-
-
-
-
- Flag given to users who are in the HypeSquad House of Bravery.
-
-
-
-
- Flag given to users who are in the HypeSquad House of Brilliance.
-
-
-
-
- Flag given to users who are in the HypeSquad House of Balance.
-
-
-
-
- Flag given to users who subscribed to Nitro before games were added.
-
-
-
-
- Flag given to users who are part of a team.
-
-
-
-
- Flag given to users who represent Discord (System).
-
-
-
-
- Flag given to users who have participated in the bug report program and are level 2.
-
-
-
-
- Flag given to users who are verified bots.
-
-
-
-
- Flag given to users that developed bots and early verified their accounts.
-
-
-
-
- Flag given to users that are discord certified moderators who has give discord's exam.
-
-
-
-
- Flag given to bots that use only outgoing webhooks, exclusively.
-
-
-
-
- Flag given to users that are active developers.
-
-
-
-
- Defines the available Discord user status.
-
-
-
-
- The user is offline.
-
-
-
-
- The user is online.
-
-
-
-
- The user is idle.
-
-
-
-
- The user is AFK.
-
-
-
-
- The user is busy.
-
-
-
-
- The user is invisible.
-
-
-
-
- Represents a webhook object on Discord.
-
-
-
-
- Gets the token of this webhook; if the is .
-
-
-
-
- Gets the default name of this webhook.
-
-
-
-
- Gets the ID of this webhook's default avatar.
-
-
-
-
- Gets the URL to this webhook's default avatar.
-
-
-
-
- Gets the channel for this webhook.
-
-
-
-
- Gets the ID of the channel for this webhook; for webhooks.
-
-
-
-
- Gets the guild owning this webhook.
-
-
-
-
- Gets the ID of the guild owning this webhook.
-
-
-
-
- Gets the user that created this webhook.
-
-
-
-
- Gets the ID of the application owning this webhook.
-
-
-
-
- Gets the type of this webhook.
-
-
-
-
- Modifies this webhook.
-
-
-
-
- Properties used to modify an with the specified changes.
-
-
-
-
-
- Gets or sets the default name of the webhook.
-
-
-
-
- Gets or sets the default avatar of the webhook.
-
-
-
-
- Gets or sets the channel for this webhook.
-
-
- This field is not used when authenticated with .
-
-
-
-
- Gets or sets the channel ID for this webhook.
-
-
- This field is not used when authenticated with .
-
-
-
-
- Represents the type of a webhook.
-
-
- This type is currently unused, and is only returned in audit log responses.
-
-
-
-
- An incoming webhook.
-
-
-
-
- A channel follower webhook.
-
-
-
-
- An application (interaction) webhook.
-
-
-
- An extension class for squashing .
-
- This set of extension methods will squash an into a
- single . This is often associated with requests that has a
- set limit when requesting.
-
-
-
- Flattens the specified pages into one asynchronously.
-
-
- Flattens the specified pages into one .
-
-
-
- The prefix applied to files to indicate that it is a spoiler.
-
-
-
-
- Gets whether the message's attachments are spoilers or not.
-
-
-
-
- Attempts to get the based off of the channel's interfaces.
-
- The channel to get the type of.
- The of the channel if found, otherwise .
-
-
- An extension class for the Discord client.
-
-
- Gets the private channel with the provided ID.
-
-
- Gets the DM channel with the provided ID.
-
-
- Gets all available DM channels for the client.
-
-
- Gets the group channel with the provided ID.
-
-
- Gets all available group channels for the client.
-
-
- Gets the most optimal voice region for the client.
-
-
- An extension class for building an embed.
-
-
- Adds embed color based on the provided raw value.
-
-
- Adds embed color based on the provided RGB value.
-
-
- Adds embed color based on the provided RGB value.
- The argument value is not between 0 to 255.
-
-
- Adds embed color based on the provided RGB value.
- The argument value is not between 0 to 1.
-
-
- Fills the embed author field with the provided user's full username and avatar URL.
-
-
- Converts a object to a .
- The embed type is not .
-
-
-
- Adds the specified fields into this .
-
- Field count exceeds .
-
-
-
- Adds the specified fields into this .
-
-
-
-
- An extension class for .
-
-
-
-
- Gets if welcome system messages are enabled.
-
- The guild to check.
- A bool indicating if the welcome messages are enabled in the system channel.
-
-
-
- Gets if guild boost system messages are enabled.
-
- The guild to check.
- A bool indicating if the guild boost messages are enabled in the system channel.
-
-
-
- Gets if guild setup system messages are enabled.
-
- The guild to check.
- A bool indicating if the guild setup messages are enabled in the system channel.
-
-
-
- Gets if guild welcome messages have a reply with sticker button.
-
- The guild to check.
- A bool indicating if the guild welcome messages have a reply with sticker button.
-
-
-
- Provides extension methods for .
-
-
-
-
- Gets a URL that jumps to the message.
-
- The message to jump to.
-
- A string that contains a URL for jumping to the message in chat.
-
-
-
-
- Add multiple reactions to a message.
-
-
- This method does not bulk add reactions! It will send a request for each reaction included.
-
-
-
- IEmote A = new Emoji("🅰");
- IEmote B = new Emoji("🅱");
- await msg.AddReactionsAsync(new[] { A, B });
-
-
- The message to add reactions to.
- An array of reactions to add to the message.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for adding a reaction to this message.
-
-
-
-
-
-
- Remove multiple reactions from a message.
-
-
- This method does not bulk remove reactions! If you want to clear reactions from a message,
-
-
-
-
- await msg.RemoveReactionsAsync(currentUser, new[] { A, B });
-
-
- The message to remove reactions from.
- The user who removed the reaction.
- An array of reactions to remove from the message.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation for removing a reaction to this message.
-
-
-
-
-
-
- Sends an inline reply that references a message.
-
- The message that is being replied on.
- The message to be sent.
- Determines whether the message should be read aloud by Discord or not.
- The to be sent.
- A array of s to send with this response. Max 10.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The options to be used when sending the request.
- The message components to be included with this message. Used for interactions.
- A collection of stickers to send with the message.
- Message flags combined as a bitfield.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
- An extension class for various Discord user objects.
-
-
-
- Sends a message via DM.
-
-
- This method attempts to send a direct-message to the user.
-
-
- Please note that this method will throw an
- if the user cannot receive DMs due to privacy reasons or if the user has the sender blocked.
-
-
- You may want to consider catching for
- 50007 when using this method.
-
-
-
- The user to send the DM to.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
-
- Specifies if notifications are sent for mentioned users and roles in the message .
- If , all mentioned roles and users will be notified.
-
- The message components to be included with this message. Used for interactions.
- A array of s to send with this response. Max 10.
-
- A task that represents the asynchronous send operation. The task result contains the sent message.
-
-
-
-
- Sends a file to this message channel with an optional caption.
-
-
- The following example uploads a streamed image that will be called b1nzy.jpg embedded inside a
- rich embed to the channel.
-
- await channel.SendFileAsync(b1nzyStream, "b1nzy.jpg",
- embed: new EmbedBuilder {ImageUrl = "attachment://b1nzy.jpg"}.Build());
-
-
-
- This method attempts to send an attachment as a direct-message to the user.
-
-
- Please note that this method will throw an
- if the user cannot receive DMs due to privacy reasons or if the user has the sender blocked.
-
-
- You may want to consider catching for
- 50007 when using this method.
-
-
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The user to send the DM to.
- The of the file to be sent.
- The name of the attachment.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
- The message component to be included with this message. Used for interactions.
- A array of s to send with this response. Max 10.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a file via DM with an optional caption.
-
-
- The following example uploads a local file called wumpus.txt along with the text
- good discord boi to the channel.
-
- await channel.SendFileAsync("wumpus.txt", "good discord boi");
-
-
- The following example uploads a local image called b1nzy.jpg embedded inside a rich embed to the
- channel.
-
- await channel.SendFileAsync("b1nzy.jpg",
- embed: new EmbedBuilder {ImageUrl = "attachment://b1nzy.jpg"}.Build());
-
-
-
- This method attempts to send an attachment as a direct-message to the user.
-
-
- Please note that this method will throw an
- if the user cannot receive DMs due to privacy reasons or if the user has the sender blocked.
-
-
- You may want to consider catching for
- 50007 when using this method.
-
-
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The user to send the DM to.
- The file path of the file.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
- The message component to be included with this message. Used for interactions.
- A array of s to send with this response. Max 10.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a file via DM with an optional caption.
-
-
- This method attempts to send an attachment as a direct-message to the user.
-
-
- Please note that this method will throw an
- if the user cannot receive DMs due to privacy reasons or if the user has the sender blocked.
-
-
- You may want to consider catching for
- 50007 when using this method.
-
-
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The user to send the DM to.
- The attachment containing the file and description.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
- The message component to be included with this message. Used for interactions.
- A array of s to send with this response. Max 10.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a collection of files via DM.
-
-
- This method attempts to send an attachments as a direct-message to the user.
-
-
- Please note that this method will throw an
- if the user cannot receive DMs due to privacy reasons or if the user has the sender blocked.
-
-
- You may want to consider catching for
- 50007 when using this method.
-
-
-
- If you wish to upload an image and have it embedded in a embed,
- you may upload the file and refer to the file with "attachment://filename.ext" in the
- . See the example section for its usage.
-
-
- The user to send the DM to.
- A collection of attachments to upload.
- The message to be sent.
- Whether the message should be read aloud by Discord or not.
- The to be sent.
- The options to be used when sending the request.
- The message component to be included with this message. Used for interactions.
- A array of s to send with this response. Max 10.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Bans the user from the guild and optionally prunes their recent messages.
-
- The user to ban.
- The number of days to remove messages from this for - must be between [0, 7]
- The reason of the ban to be written in the audit log.
- The options to be used when sending the request.
- is not between 0 to 7.
-
- A task that represents the asynchronous operation for banning a user.
-
-
-
- A helper class for formatting characters.
-
-
- Returns a markdown-formatted string with bold formatting.
-
-
- Returns a markdown-formatted string with italics formatting.
-
-
- Returns a markdown-formatted string with underline formatting.
-
-
- Returns a markdown-formatted string with strike-through formatting.
-
-
- Returns a string with spoiler formatting.
-
-
- Returns a markdown-formatted URL. Only works in descriptions and fields.
-
-
- Escapes a URL so that a preview is not generated.
-
-
- Returns a markdown-formatted string with codeblock formatting.
-
-
- Sanitizes the string, safely escaping any Markdown sequences.
-
-
-
- Formats a string as a quote.
-
- The text to format.
- Gets the formatted quote text.
-
-
-
- Formats a string as a block quote.
-
- The text to format.
- Gets the formatted block quote text.
-
-
-
- Remove discord supported markdown from text.
-
- The to remove markdown from.
- Gets the unformatted text.
-
-
-
- Formats a user's username and optional discriminator.
-
- To format the string in bidirectional unicode or not
- The user whose username and discriminator to format
- The username + optional discriminator.
-
-
- This intent includes no events
-
-
- This intent includes GUILD_CREATE, GUILD_UPDATE, GUILD_DELETE, GUILD_ROLE_CREATE, GUILD_ROLE_UPDATE, GUILD_ROLE_DELETE, CHANNEL_CREATE, CHANNEL_UPDATE, CHANNEL_DELETE, CHANNEL_PINS_UPDATE
-
-
- This intent includes GUILD_MEMBER_ADD, GUILD_MEMBER_UPDATE, GUILD_MEMBER_REMOVE
- This is a privileged intent and must be enabled in the Developer Portal.
-
-
- This intent includes GUILD_BAN_ADD, GUILD_BAN_REMOVE
-
-
- This intent includes GUILD_EMOJIS_UPDATE
-
-
- This intent includes GUILD_INTEGRATIONS_UPDATE
-
-
- This intent includes WEBHOOKS_UPDATE
-
-
- This intent includes INVITE_CREATE, INVITE_DELETE
-
-
- This intent includes VOICE_STATE_UPDATE
-
-
- This intent includes PRESENCE_UPDATE
- This is a privileged intent and must be enabled in the Developer Portal.
-
-
- This intent includes MESSAGE_CREATE, MESSAGE_UPDATE, MESSAGE_DELETE, MESSAGE_DELETE_BULK
-
-
- This intent includes MESSAGE_REACTION_ADD, MESSAGE_REACTION_REMOVE, MESSAGE_REACTION_REMOVE_ALL, MESSAGE_REACTION_REMOVE_EMOJI
-
-
- This intent includes TYPING_START
-
-
- This intent includes CHANNEL_CREATE, MESSAGE_CREATE, MESSAGE_UPDATE, MESSAGE_DELETE, CHANNEL_PINS_UPDATE
-
-
- This intent includes MESSAGE_REACTION_ADD, MESSAGE_REACTION_REMOVE, MESSAGE_REACTION_REMOVE_ALL, MESSAGE_REACTION_REMOVE_EMOJI
-
-
- This intent includes TYPING_START
-
-
-
- This intent defines if the content within messages received by MESSAGE_CREATE is available or not.
- This is a privileged intent and needs to be enabled in the developer portal.
-
-
-
-
- This intent includes GUILD_SCHEDULED_EVENT_CREATE, GUILD_SCHEDULED_EVENT_UPDATE, GUILD_SCHEDULED_EVENT_DELETE, GUILD_SCHEDULED_EVENT_USER_ADD, GUILD_SCHEDULED_EVENT_USER_REMOVE
-
-
-
-
- This intent includes AUTO_MODERATION_RULE_CREATE, AUTO_MODERATION_RULE_UPDATE, AUTO_MODERATION_RULE_DELETE
-
-
-
-
- This intent includes AUTO_MODERATION_ACTION_EXECUTION
-
-
-
-
- This intent includes all but , and
- which are privileged and must be enabled in the Developer Portal.
-
-
-
-
- This intent includes all of them, including privileged ones.
-
-
-
-
- Represents a generic Discord client.
-
-
-
-
- Gets the current state of connection.
-
-
-
-
- Gets the currently logged-in user.
-
-
-
-
- Gets the token type of the logged-in user.
-
-
-
-
- Starts the connection between Discord and the client..
-
-
- This method will initialize the connection between the client and Discord.
-
- This method will immediately return after it is called, as it will initialize the connection on
- another thread.
-
-
-
- A task that represents the asynchronous start operation.
-
-
-
-
- Stops the connection between Discord and the client.
-
-
- A task that represents the asynchronous stop operation.
-
-
-
-
- Gets a Discord application information for the logged-in user.
-
-
- This method reflects your application information you submitted when creating a Discord application via
- the Developer Portal.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the application
- information.
-
-
-
-
- Gets a generic channel.
-
-
-
- var channel = await _client.GetChannelAsync(381889909113225237);
- if (channel != null && channel is IMessageChannel msgChannel)
- {
- await msgChannel.SendMessageAsync($"{msgChannel} is created at {msgChannel.CreatedAt}");
- }
-
-
- The snowflake identifier of the channel (e.g. `381889909113225237`).
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the channel associated
- with the snowflake identifier; when the channel cannot be found.
-
-
-
-
- Gets a collection of private channels opened in this session.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- This method will retrieve all private channels (including direct-message, group channel and such) that
- are currently opened in this session.
-
- This method will not return previously opened private channels outside of the current session! If
- you have just started the client, this may return an empty collection.
-
-
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of private channels that the user currently partakes in.
-
-
-
-
- Gets a collection of direct message channels opened in this session.
-
-
- This method returns a collection of currently opened direct message channels.
-
- This method will not return previously opened DM channels outside of the current session! If you
- have just started the client, this may return an empty collection.
-
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of direct-message channels that the user currently partakes in.
-
-
-
-
- Gets a collection of group channels opened in this session.
-
-
- This method returns a collection of currently opened group channels.
-
- This method will not return previously opened group channels outside of the current session! If you
- have just started the client, this may return an empty collection.
-
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of group channels that the user currently partakes in.
-
-
-
-
- Gets the connections that the user has set up.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of connections.
-
-
-
-
- Gets a global application command.
-
- The id of the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the application command if found, otherwise
- .
-
-
-
-
- Gets a collection of all global commands.
-
- Whether to include full localization dictionaries in the returned objects, instead of the name localized and description localized fields.
- The target locale of the localized name and description fields. Sets X-Discord-Locale header, which takes precedence over Accept-Language.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of global
- application commands.
-
-
-
-
- Creates a global application command.
-
- The properties to use when creating the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created application command.
-
-
-
-
- Bulk overwrites all global application commands.
-
- A collection of properties to use when creating the commands.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains a collection of application commands that were created.
-
-
-
-
- Gets a guild.
-
- The guild snowflake identifier.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the guild associated
- with the snowflake identifier; when the guild cannot be found.
-
-
-
-
- Gets a collection of guilds that the user is currently in.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of guilds that the current user is in.
-
-
-
-
- Creates a guild for the logged-in user who is in less than 10 active guilds.
-
-
- This method creates a new guild on behalf of the logged-in user.
-
- Due to Discord's limitation, this method will only work for users that are in less than 10 guilds.
-
-
- The name of the new guild.
- The voice region to create the guild with.
- The icon of the guild.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created guild.
-
-
-
-
- Gets an invite.
-
- The invitation identifier.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the invite information.
-
-
-
-
- Gets a user.
-
-
-
- var user = await _client.GetUserAsync(168693960628371456);
- if (user != null)
- Console.WriteLine($"{user} is created at {user.CreatedAt}.";
-
-
- The snowflake identifier of the user (e.g. `168693960628371456`).
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the user associated with
- the snowflake identifier; if the user is not found.
-
-
-
-
- Gets a user.
-
-
-
- var user = await _client.GetUserAsync("Still", "2876");
- if (user != null)
- Console.WriteLine($"{user} is created at {user.CreatedAt}.";
-
-
- The name of the user (e.g. `Still`).
- The discriminator value of the user (e.g. `2876`).
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the user associated with
- the name and the discriminator; if the user is not found.
-
-
-
-
- Gets a collection of the available voice regions.
-
-
- The following example gets the most optimal voice region from the collection.
-
- var regions = await client.GetVoiceRegionsAsync();
- var optimalRegion = regions.FirstOrDefault(x => x.IsOptimal);
-
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- with all of the available voice regions in this session.
-
-
-
-
- Gets a voice region.
-
- The identifier of the voice region (e.g. eu-central ).
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the voice region
- associated with the identifier; if the voice region is not found.
-
-
-
-
- Gets a webhook available.
-
- The identifier of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a webhook associated
- with the identifier; if the webhook is not found.
-
-
-
-
- Gets the recommended shard count as suggested by Discord.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains an
- that represents the number of shards that should be used with this account.
-
-
-
-
- Gets the gateway information related to the bot.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a
- that represents the gateway information related to the bot.
-
-
-
-
- Represents the context of an Interaction.
-
-
-
-
- Gets the client that will be used to handle this interaction.
-
-
-
-
- Gets the guild the interaction originated from.
-
-
- Will be if the interaction originated from a DM channel or the interaction was a Context Command interaction.
-
-
-
-
- Gets the channel the interaction originated from.
-
-
-
-
- Gets the user who invoked the interaction event.
-
-
-
-
- Gets the underlying interaction.
-
-
-
-
- Gets or sets the callback to use when the service has outgoing json for the rest webhook.
-
-
- If this property is the default callback will be used.
-
-
-
-
- Represents a container for temporarily storing CustomId wild card matches of a component.
-
-
-
-
- Gets the collection of captured route segments in this container.
-
-
- A collection of captured route segments.
-
-
-
-
- Sets the property of this container.
-
- The collection of captured route segments.
-
-
-
- Represents an object for storing a CustomId wild card match.
-
-
-
-
- Gets the captured value of this wild card match.
-
-
- The value of this wild card.
-
-
-
-
- Represents an object for storing a CustomId wild card match.
-
-
-
-
-
-
-
- Provides a message object used for logging purposes.
-
-
-
-
- Gets the severity of the log entry.
-
-
- A enum to indicate the severeness of the incident or event.
-
-
-
-
- Gets the source of the log entry.
-
-
- A string representing the source of the log entry.
-
-
-
-
- Gets the message of this log entry.
-
-
- A string containing the message of this log entry.
-
-
-
-
- Gets the exception of this log entry.
-
-
- An object associated with an incident; otherwise .
-
-
-
-
- Initializes a new struct with the severity, source, message of the event, and
- optionally, an exception.
-
- The severity of the event.
- The source of the event.
- The message of the event.
- The exception of the event.
-
-
-
- Specifies the severity of the log message.
-
-
-
-
- Logs that contain the most severe level of error. This type of error indicate that immediate attention
- may be required.
-
-
-
-
- Logs that highlight when the flow of execution is stopped due to a failure.
-
-
-
-
- Logs that highlight an abnormal activity in the flow of execution.
-
-
-
-
- Logs that track the general flow of the application.
-
-
-
-
- Logs that are used for interactive investigation during development.
-
-
-
-
- Logs that contain the most detailed messages.
-
-
-
- Specifies the state of the client's login status.
-
-
- The client is currently logged out.
-
-
- The client is currently logging in.
-
-
- The client is currently logged in.
-
-
- The client is currently logging out.
-
-
-
- Represents a ratelimit bucket.
-
-
-
-
- Gets the http method used to make the request if available.
-
-
-
-
- Gets the endpoint that is going to be requested if available.
-
-
-
-
- Gets the major parameters of the route.
-
-
-
-
- Gets the hash of this bucket.
-
-
- The hash is provided by Discord to group ratelimits.
-
-
-
-
- Gets if this bucket is a hash type.
-
-
-
-
- Creates a new based on the
- and .
-
- Http method used to make the request.
- Endpoint that is going to receive requests.
- Major parameters of the route of this endpoint.
-
- A based on the
- and the with the provided data.
-
-
-
-
- Creates a new based on a
- and a previous .
-
- Bucket hash provided by Discord.
- that is going to be upgraded to a hash type.
-
- A based on the
- and .
-
-
-
-
- Gets the string that will define this bucket as a hash based one.
-
-
- A that defines this bucket as a hash based one.
-
-
-
-
- Gets the string that will define this bucket as an endpoint based one.
-
-
- A that defines this bucket as an endpoint based one.
-
-
-
-
- The exception that is thrown if an error occurs while processing an Discord HTTP request.
-
-
-
-
- Gets the HTTP status code returned by Discord.
-
-
- An
- HTTP status code
- from Discord.
-
-
-
-
- Gets the JSON error code returned by Discord.
-
-
- A
- JSON error code
- from Discord, or if none.
-
-
-
-
- Gets the reason of the exception.
-
-
-
-
- Gets the request object used to send the request.
-
-
-
-
- Gets a collection of json errors describing what went wrong with the request.
-
-
-
-
- Initializes a new instance of the class.
-
- The HTTP status code returned.
- The request that was sent prior to the exception.
- The Discord status code returned.
- The reason behind the exception.
-
-
-
- Represents a generic request to be sent to Discord.
-
-
-
-
- The exception that is thrown when the user is being rate limited by Discord.
-
-
-
-
- Gets the request object used to send the request.
-
-
-
-
- Initializes a new instance of the class using the
- sent.
-
-
-
-
- Represents a generic REST-based client.
-
-
-
-
- Sets the HTTP header of this client for all requests.
-
- The field name of the header.
- The value of the header.
-
-
-
- Sets the cancellation token for this client.
-
- The cancellation token.
-
-
-
- Sends a REST request.
-
- The method used to send this request (i.e. HTTP verb such as GET, POST).
- The endpoint to send this request to.
- The cancellation token used to cancel the task.
- Indicates whether to send the header only.
- The audit log reason.
- Additional headers to be sent with the request.
-
-
-
-
- The exception that is thrown when the WebSocket session is closed by Discord.
-
-
-
-
- Gets the close code sent by Discord.
-
-
- A
- close code
- from Discord.
-
-
-
-
- Gets the reason of the interruption.
-
-
-
-
- Initializes a new instance of the using a Discord close code
- and an optional reason.
-
-
-
-
- Represents a generic ratelimit info.
-
-
-
-
- Gets whether or not this ratelimit info is global.
-
-
-
-
- Gets the number of requests that can be made.
-
-
-
-
- Gets the number of remaining requests that can be made.
-
-
-
-
- Gets the total time (in seconds) of when the current rate limit bucket will reset. Can have decimals to match previous millisecond ratelimit precision.
-
-
-
-
- Gets the at which the rate limit resets.
-
-
-
-
- Gets the absolute time when this ratelimit resets.
-
-
-
-
- Gets a unique string denoting the rate limit being encountered (non-inclusive of major parameters in the route path).
-
-
-
-
- Gets the amount of lag for the request. This is used to denote the precise time of when the ratelimit expires.
-
-
-
-
- Gets the endpoint that this ratelimit info came from.
-
-
-
-
- Represents options that should be used when sending a request.
-
-
-
-
- Creates a new class with its default settings.
-
-
-
-
- Gets or sets the maximum time to wait for this request to complete.
-
-
- Gets or set the max time, in milliseconds, to wait for this request to complete. If
- , a request will not time out. If a rate limit has been triggered for this request's bucket
- and will not be unpaused in time, this request will fail immediately.
-
-
- A in milliseconds for when the request times out.
-
-
-
-
- Gets or sets the cancellation token for this request.
-
-
- A for this request.
-
-
-
-
- Gets or sets the retry behavior when the request fails.
-
-
-
-
- Gets or sets the reason for this action in the guild's audit log.
-
-
- Gets or sets the reason that will be written to the guild's audit log if applicable. This may not apply
- to all actions.
-
-
-
-
- Gets or sets whether or not this request should use the system
- clock for rate-limiting. Defaults to .
-
-
- This property can also be set in .
- On a per-request basis, the system clock should only be disabled
- when millisecond precision is especially important, and the
- hosting system is known to have a desynced clock.
-
-
-
-
- Gets or sets the callback to execute regarding ratelimits for this request.
-
-
-
-
- Initializes a new class with the default request timeout set in
- .
-
-
-
- Specifies how a request should act in the case of an error.
-
-
- If a request fails, an exception is thrown immediately.
-
-
- Retry if a request timed out.
-
-
- Retry if a request failed due to a rate-limit.
-
-
- Retry if a request failed due to an HTTP error 502.
-
-
- Continuously retry a request until it times out, its cancel token is triggered, or the server responds with a non-502 error.
-
-
- Specifies the type of token to use with the client.
-
-
-
- An OAuth2 token type.
-
-
-
-
- A bot token type.
-
-
-
-
- A webhook token type.
-
-
-
-
- Represents a cached entity.
-
- The type of entity that is cached.
- The type of this entity's ID.
-
-
-
- Gets whether this entity is cached.
-
-
-
-
- Gets the ID of this entity.
-
-
-
-
- Gets the entity if it could be pulled from cache.
-
-
- This value is not guaranteed to be set; in cases where the entity cannot be pulled from cache, it is
- .
-
-
-
-
- Downloads this entity to cache.
-
- Thrown when used from a user account.
- Thrown when the message is deleted.
-
- A task that represents the asynchronous download operation. The task result contains the downloaded
- entity.
-
-
-
-
- Returns the cached entity if it exists; otherwise downloads it.
-
- Thrown when used from a user account.
- Thrown when the message is deleted and is not in cache.
-
- A task that represents the asynchronous operation that attempts to get the message via cache or to
- download the message. The task result contains the downloaded entity.
-
-
-
-
- Gets whether this entity is cached.
-
-
-
-
- Gets the ID of this entity.
-
-
-
-
- Gets the entity if it could be pulled from cache.
-
-
- This value is not guaranteed to be set; in cases where the entity cannot be pulled from cache, it is
- .
-
-
-
-
- Downloads this entity.
-
- Thrown when used from a user account.
- Thrown when the message is deleted.
-
- A task that represents the asynchronous download operation. The task result contains the downloaded
- entity.
-
-
-
-
- Returns the cached entity if it exists; otherwise downloads it.
-
- Thrown when used from a user account.
- Thrown when the message is deleted and is not in cache.
-
- A task that represents the asynchronous operation that attempts to get the message via cache or to
- download the message. The task result contains the downloaded entity.
-
-
-
-
- Not full URL validation right now. Just ensures protocol is present and that it's either http or https
- should be used for url buttons.
-
- The URL to validate before sending to Discord.
- to allow the attachment:// protocol; otherwise .
- A URL must include a protocol (http or https).
- true if URL is valid by our standard, false if null, throws an error upon invalid.
-
-
-
- Not full URL validation right now. Just Ensures the protocol is either http, https, or discord
- should be used everything other than url buttons.
-
- The URL to validate before sending to discord.
- A URL must include a protocol (either http, https, or discord).
- true if the URL is valid by our standard, false if null, throws an error upon invalid.
-
-
-
- Represents a collection of for various Discord objects.
-
-
-
-
- Gets an to be used to compare users.
-
-
-
-
- Gets an to be used to compare guilds.
-
-
-
-
- Gets an to be used to compare channels.
-
-
-
-
- Gets an to be used to compare roles.
-
-
-
-
- Gets an to be used to compare messages.
-
-
-
- is
-
-
-
- or is
-
-
-
- is
-
-
- is
-
-
- is
-
-
-
-
-
-
- Provides a series of helper methods for parsing mentions.
-
-
-
-
- Returns a mention string based on the user ID.
-
-
- A user mention string (e.g. <@80351110224678912>).
-
-
-
-
- Returns a mention string based on the channel ID.
-
-
- A channel mention string (e.g. <#103735883630395392>).
-
-
-
-
- Returns a mention string based on the role ID.
-
-
- A role mention string (e.g. <@&165511591545143296>).
-
-
-
-
- Parses a provided user mention string.
-
- The user mention.
- Invalid mention format.
-
-
-
- Tries to parse a provided user mention string.
-
- The user mention.
- The UserId of the user.
-
-
-
- Parses a provided channel mention string.
-
- Invalid mention format.
-
-
-
- Tries to parse a provided channel mention string.
-
-
-
-
- Parses a provided role mention string.
-
- Invalid mention format.
-
-
-
- Tries to parse a provided role mention string.
-
-
-
- Gets the value for this parameter.
- This property has no value set.
-
-
- Returns true if this value has been specified.
-
-
- Creates a new Parameter with the provided value.
-
-
- must not be .
-
-
- must not be .
-
-
- cannot be blank.
-
-
- cannot be blank.
-
-
- cannot be blank.
- must not be .
-
-
- cannot be blank.
- must not be .
-
-
- cannot be blank.
- must not be .
-
-
- cannot be blank.
- must not be .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value may not be equal to .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be at least .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be greater than .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be at most .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Value must be less than .
-
-
- Messages are younger than 2 weeks.
-
-
- The everyone role cannot be assigned to a user.
-
-
- or is null.
- or are either empty or their length exceed limits.
-
-
-
- Provides a series of helper methods for handling snowflake identifiers.
-
-
-
-
- Resolves the time of which the snowflake is generated.
-
- The snowflake identifier to resolve.
-
- A representing the time for when the object is generated.
-
-
-
-
- Generates a pseudo-snowflake identifier with a .
-
- The time to be used in the new snowflake.
-
- A representing the newly generated snowflake identifier.
-
-
-
-
- Provides a series of helper methods for handling Discord login tokens.
-
-
-
-
- The minimum length of a Bot token.
-
-
- This value was determined by comparing against the examples in the Discord
- documentation, and pre-existing tokens.
-
-
-
-
- Pads a base64-encoded string with 0, 1, or 2 '=' characters,
- if the string is not a valid multiple of 4.
- Does not ensure that the provided string contains only valid base64 characters.
- Strings that already contain padding will not have any more padding applied.
-
-
- A string that would require 3 padding characters is considered to be already corrupt.
- Some older bot tokens may require padding, as the format provided by Discord
- does not include this padding in the token.
-
- The base64 encoded string to pad with characters.
- A string containing the base64 padding.
-
- Thrown if would require an invalid number of padding characters.
-
-
- Thrown if is null, empty, or whitespace.
-
-
-
-
- Decodes a base 64 encoded string into a ulong value.
-
- A base 64 encoded string containing a User Id.
- A ulong containing the decoded value of the string, or null if the value was invalid.
-
-
-
- Checks the validity of a bot token by attempting to decode a ulong userid
- from the bot token.
-
-
- The bot token to validate.
-
-
- True if the bot token was valid, false if it was not.
-
-
-
-
- The set of all characters that are not allowed inside of a token.
-
-
-
-
- Checks if the given token contains a whitespace or newline character
- that would fail to log in.
-
- The token to validate.
-
- True if the token contains a whitespace or newline character.
-
-
-
-
- Checks the validity of the supplied token of a specific type.
-
- The type of token to validate.
- The token value to validate.
- Thrown when the supplied token string is , empty, or contains only whitespace.
- Thrown when the supplied or token value is invalid.
-
-
-
diff --git a/tempdnet/Discord.Net.Interactions.deps.json b/tempdnet/Discord.Net.Interactions.deps.json
deleted file mode 100644
index 4879f8c..0000000
--- a/tempdnet/Discord.Net.Interactions.deps.json
+++ /dev/null
@@ -1,168 +0,0 @@
-{
- "runtimeTarget": {
- "name": ".NETCoreApp,Version=v6.0",
- "signature": ""
- },
- "compilationOptions": {},
- "targets": {
- ".NETCoreApp,Version=v6.0": {
- "Discord.Net.Interactions/3.12.0-dev": {
- "dependencies": {
- "Discord.Net.Core": "3.12.0-dev",
- "Discord.Net.Rest": "3.12.0-dev",
- "Discord.Net.WebSocket": "3.12.0-dev",
- "Microsoft.Extensions.DependencyInjection.Abstractions": "5.0.0",
- "System.Collections.Immutable": "5.0.0",
- "System.Reactive": "5.0.0"
- },
- "runtime": {
- "Discord.Net.Interactions.dll": {}
- }
- },
- "Microsoft.Extensions.DependencyInjection.Abstractions/5.0.0": {
- "runtime": {
- "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.20.51904"
- }
- }
- },
- "Newtonsoft.Json/13.0.2": {
- "runtime": {
- "lib/net6.0/Newtonsoft.Json.dll": {
- "assemblyVersion": "13.0.0.0",
- "fileVersion": "13.0.2.27524"
- }
- }
- },
- "System.Collections.Immutable/5.0.0": {},
- "System.Interactive.Async/5.0.0": {
- "dependencies": {
- "System.Linq.Async": "5.0.0"
- },
- "runtime": {
- "lib/netcoreapp3.1/System.Interactive.Async.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.0.1"
- }
- }
- },
- "System.Linq.Async/5.0.0": {
- "runtime": {
- "lib/netcoreapp3.1/System.Linq.Async.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.0.1"
- }
- }
- },
- "System.Reactive/5.0.0": {
- "runtime": {
- "lib/net5.0/System.Reactive.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.0.1"
- }
- }
- },
- "System.ValueTuple/4.5.0": {},
- "Discord.Net.Core/3.12.0-dev": {
- "dependencies": {
- "Newtonsoft.Json": "13.0.2",
- "System.Collections.Immutable": "5.0.0",
- "System.Interactive.Async": "5.0.0",
- "System.ValueTuple": "4.5.0"
- },
- "runtime": {
- "Discord.Net.Core.dll": {}
- }
- },
- "Discord.Net.Rest/3.12.0-dev": {
- "dependencies": {
- "Discord.Net.Core": "3.12.0-dev"
- },
- "runtime": {
- "Discord.Net.Rest.dll": {}
- }
- },
- "Discord.Net.WebSocket/3.12.0-dev": {
- "dependencies": {
- "Discord.Net.Core": "3.12.0-dev",
- "Discord.Net.Rest": "3.12.0-dev"
- },
- "runtime": {
- "Discord.Net.WebSocket.dll": {}
- }
- }
- }
- },
- "libraries": {
- "Discord.Net.Interactions/3.12.0-dev": {
- "type": "project",
- "serviceable": false,
- "sha512": ""
- },
- "Microsoft.Extensions.DependencyInjection.Abstractions/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-ORj7Zh81gC69TyvmcUm9tSzytcy8AVousi+IVRAI8nLieQjOFryRusSFh7+aLk16FN9pQNqJAiMd7BTKINK0kA==",
- "path": "microsoft.extensions.dependencyinjection.abstractions/5.0.0",
- "hashPath": "microsoft.extensions.dependencyinjection.abstractions.5.0.0.nupkg.sha512"
- },
- "Newtonsoft.Json/13.0.2": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==",
- "path": "newtonsoft.json/13.0.2",
- "hashPath": "newtonsoft.json.13.0.2.nupkg.sha512"
- },
- "System.Collections.Immutable/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==",
- "path": "system.collections.immutable/5.0.0",
- "hashPath": "system.collections.immutable.5.0.0.nupkg.sha512"
- },
- "System.Interactive.Async/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-QaqhQVDiULcu4vm6o89+iP329HcK44cETHOYgy/jfEjtzeFy0ZxmuM7nel9ocjnKxEM4yh1mli7hgh8Q9o+/Iw==",
- "path": "system.interactive.async/5.0.0",
- "hashPath": "system.interactive.async.5.0.0.nupkg.sha512"
- },
- "System.Linq.Async/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-cPtIuuH8TIjVHSi2ewwReWGW1PfChPE0LxPIDlfwVcLuTM9GANFTXiMB7k3aC4sk3f0cQU25LNKzx+jZMxijqw==",
- "path": "system.linq.async/5.0.0",
- "hashPath": "system.linq.async.5.0.0.nupkg.sha512"
- },
- "System.Reactive/5.0.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-erBZjkQHWL9jpasCE/0qKAryzVBJFxGHVBAvgRN1bzM0q2s1S4oYREEEL0Vb+1kA/6BKb5FjUZMp5VXmy+gzkQ==",
- "path": "system.reactive/5.0.0",
- "hashPath": "system.reactive.5.0.0.nupkg.sha512"
- },
- "System.ValueTuple/4.5.0": {
- "type": "package",
- "serviceable": true,
- "sha512": "sha512-okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
- "path": "system.valuetuple/4.5.0",
- "hashPath": "system.valuetuple.4.5.0.nupkg.sha512"
- },
- "Discord.Net.Core/3.12.0-dev": {
- "type": "project",
- "serviceable": false,
- "sha512": ""
- },
- "Discord.Net.Rest/3.12.0-dev": {
- "type": "project",
- "serviceable": false,
- "sha512": ""
- },
- "Discord.Net.WebSocket/3.12.0-dev": {
- "type": "project",
- "serviceable": false,
- "sha512": ""
- }
- }
-}
\ No newline at end of file
diff --git a/tempdnet/Discord.Net.Interactions.dll b/tempdnet/Discord.Net.Interactions.dll
deleted file mode 100644
index 99b73ae..0000000
Binary files a/tempdnet/Discord.Net.Interactions.dll and /dev/null differ
diff --git a/tempdnet/Discord.Net.Interactions.xml b/tempdnet/Discord.Net.Interactions.xml
deleted file mode 100644
index 2da5962..0000000
--- a/tempdnet/Discord.Net.Interactions.xml
+++ /dev/null
@@ -1,5171 +0,0 @@
-
-
-
- Discord.Net.Interactions
-
-
-
-
- Set the to .
-
-
-
-
- Type of the .
-
-
-
-
- Set the to and define a to handle
- Autocomplete interactions targeting the parameter this is applied to.
-
-
- must be set to to use this constructor.
-
-
-
-
- Set the to without specifying a .
-
-
-
-
- Specify the target channel types for a option.
-
-
-
-
- Gets the allowed channel types for this option.
-
-
-
-
- Specify the target channel types for a option.
-
- The allowed channel types for this option.
-
-
-
- Add a pre-determined argument value to a command parameter.
-
-
-
-
- Gets the name of the choice.
-
-
-
-
- Gets the type of this choice.
-
-
-
-
- Gets the value that will be used whenever this choice is selected.
-
-
-
-
- Create a parameter choice with type .
-
- Name of the choice.
- Predefined value of the choice.
-
-
-
- Create a parameter choice with type .
-
- Name of the choice.
- Predefined value of the choice.
-
-
-
- Create a parameter choice with type .
-
- Name of the choice.
- Predefined value of the choice.
-
-
-
- Create an Autocomplete Command.
-
-
-
-
- Gets the name of the target parameter.
-
-
-
-
- Gets the name of the target command.
-
-
-
-
- Get the run mode this command gets executed with.
-
-
-
-
- Create a command for Autocomplete interaction handling.
-
- Name of the target parameter.
- Name of the target command.
- Set the run mode of the command.
-
-
-
- Create a Message Component interaction handler, CustomId represents
- the CustomId of the Message Component that will be handled.
-
-
- s will add prefixes to this command if is set to
- CustomID supports a Wild Card pattern where you can use the to match a set of CustomIDs.
-
-
-
-
- Gets the string to compare the Message Component CustomIDs with.
-
-
-
-
- Gets if s will be ignored while creating this command and this method will be treated as a top level command.
-
-
-
-
- Gets the run mode this command gets executed with.
-
-
-
-
- Gets or sets whether the should be treated as a raw Regex pattern.
-
-
- defaults to the pattern used before 3.9.0.
-
-
-
-
- Create a command for component interaction handling.
-
- String to compare the Message Component CustomIDs with.
- If s will be ignored while creating this command and this method will be treated as a top level command.
- Set the run mode of the command.
-
-
-
- Base attribute for creating a Context Commands.
-
-
-
-
- Gets the name of this Context Command.
-
-
-
-
- Gets the type of this Context Command.
-
-
-
-
- Gets the run mode this command gets executed with.
-
-
-
-
- Create a Message Context Command.
-
-
- s won't add prefixes to this command.
-
-
-
-
- Register a method as a Message Context Command.
-
- Name of the context command.
-
-
-
- Create a Modal interaction handler. CustomId represents
- the CustomId of the Modal that will be handled.
-
-
- s will add prefixes to this command if is set to
- CustomID supports a Wild Card pattern where you can use the to match a set of CustomIDs.
-
-
-
-
- Gets the string to compare the Modal CustomIDs with.
-
-
-
-
- Gets if s will be ignored while creating this command and this method will be treated as a top level command.
-
-
-
-
- Gets the run mode this command gets executed with.
-
-
-
-
- Gets or sets whether the should be treated as a raw Regex pattern.
-
-
- defaults to the pattern used before 3.9.0.
-
-
-
-
- Create a command for modal interaction handling.
-
- String to compare the modal CustomIDs with.
- If s will be ignored while creating this command and this method will be treated as a top level command.
- Set the run mode of the command.
-
-
-
- Create an Slash Application Command.
-
-
- prefix will be used to created nested Slash Application Commands.
-
-
-
-
- Gets the name of the Slash Command.
-
-
-
-
- Gets the description of the Slash Command.
-
-
-
-
- Gets if s will be ignored while creating this command and this method will be treated as a top level command.
-
-
-
-
- Gets the run mode this command gets executed with.
-
-
-
-
- Register a method as a Slash Command.
-
- Name of the command.
- Description of the command.
- If , s will be ignored while creating this command and this method will be treated as a top level command.
- Set the run mode of the command.
-
-
-
- Create an User Context Command.
-
-
- s won't add prefixes to this command.
-
-
-
-
- Register a command as a User Context Command.
-
- Name of this User Context Command.
-
-
-
- Registers a parameter as a complex parameter.
-
-
-
-
- Gets the parameter array of the constructor method that should be prioritized.
-
-
-
-
- Registers a slash command parameter as a complex parameter.
-
-
-
-
- Registers a slash command parameter as a complex parameter with a specified constructor signature.
-
- Type array of the preferred constructor parameters.
-
-
-
- Tag a type constructor as the preferred Complex command constructor.
-
-
-
-
- Sets the of an application command or module.
-
-
-
-
- Gets the default permission required to use this command.
-
-
-
-
- Sets the of an application command or module.
-
- The default permission required to use this command.
-
-
-
- Set the "Default Permission" property of an Application Command.
-
-
-
-
- Gets whether the users are allowed to use a Slash Command by default or not.
-
-
-
-
- Set the default permission of a Slash Command.
-
- if the users are allowed to use this command.
-
-
-
- s with this attribute will not be registered by the or
- methods.
-
-
-
-
- Sets the property of an application command or module.
-
-
-
-
- Gets whether or not this command can be used in DMs.
-
-
-
-
- Sets the property of an application command or module.
-
- Whether or not this command can be used in DMs.
-
-
-
- Customize the displayed value of a slash command choice enum. Only works with the default enum type converter.
-
-
-
-
- Gets the name of the parameter.
-
-
-
-
- Modify the default name and description values of a Slash Command parameter.
-
- Name of the parameter.
-
-
-
- Create nested Slash Commands by marking a module as a command group.
-
-
- commands wil not be affected by this.
-
-
-
-
- Gets the name of the group.
-
-
-
-
- Gets the description of the group.
-
-
-
-
- Create a command group.
-
- Name of the group.
- Description of the group.
-
-
-
- Sets the maximum length allowed for a string type parameter.
-
-
-
-
- Gets the maximum length allowed for a string type parameter.
-
-
-
-
- Sets the maximum length allowed for a string type parameter.
-
- Maximum string length allowed.
-
-
-
- Set the maximum value permitted for a number type parameter.
-
-
-
-
- Gets the maximum value permitted.
-
-
-
-
- Set the maximum value permitted for a number type parameter.
-
- The maximum value permitted.
-
-
-
- Sets the minimum length allowed for a string type parameter.
-
-
-
-
- Gets the minimum length allowed for a string type parameter.
-
-
-
-
- Sets the minimum length allowed for a string type parameter.
-
- Minimum string length allowed.
-
-
-
- Set the minimum value permitted for a number type parameter.
-
-
-
-
- Gets the minimum value permitted.
-
-
-
-
- Set the minimum value permitted for a number type parameter.
-
- The minimum value permitted.
-
-
-
- Creates a custom label for an modal input.
-
-
-
-
- Gets the label of the input.
-
-
-
-
- Creates a custom label for an modal input.
-
- The label of the input.
-
-
-
- Mark an property as a modal input field.
-
-
-
-
- Gets the custom id of the text input.
-
-
-
-
- Gets the type of the component.
-
-
-
-
- Create a new .
-
- The custom id of the input.
-
-
-
- Marks a property as a text input.
-
-
-
-
-
-
-
- Gets the style of the text input.
-
-
-
-
- Gets the placeholder of the text input.
-
-
-
-
- Gets the minimum length of the text input.
-
-
-
-
- Gets the maximum length of the text input.
-
-
-
-
- Gets the initial value to be displayed by this input.
-
-
-
-
- Create a new .
-
- The custom id of the text input.>
- The style of the text input.
- The placeholder of the text input.
- The minimum length of the text input's content.
- The maximum length of the text input's content.
- The initial value to be displayed by this input.
-
-
-
- Sets the input as required or optional.
-
-
-
-
- Gets whether or not user input is required for this input.
-
-
-
-
- Sets the input as required or optional.
-
- Whether or not user input is required for this input.
-
-
-
- Sets the property of an application command or module.
-
-
-
-
- Gets whether or not this command is age restricted.
-
-
-
-
- Sets the property of an application command or module.
-
- Whether or not this command is age restricted.
-
-
-
- Requires the parameter to pass the specified precondition before execution can begin.
-
-
-
-
-
- Gets the error message to be returned if execution context doesn't pass the precondition check.
-
-
- When overridden in a derived class, uses the supplied string
- as the error message if the precondition doesn't pass.
- Setting this for a class that doesn't override
- this property is a no-op.
-
-
-
-
- Checks whether the condition is met before execution of the command.
-
- The context of the command.
- The parameter of the command being checked against.
- The raw value of the parameter.
- The service collection used for dependency injection.
-
-
-
- Requires the module or class to pass the specified precondition before execution can begin.
-
-
-
-
-
- Gets the group that this precondition belongs to.
-
-
- of the same group require only one of the preconditions to pass in order to
- be successful (A || B). Specifying = or not at all will
- require *all* preconditions to pass, just like normal (A && B).
-
-
-
-
- Gets the error message to be returned if execution context doesn't pass the precondition check.
-
-
- When overridden in a derived class, uses the supplied string
- as the error message if the precondition doesn't pass.
- Setting this for a class that doesn't override
- this property is a no-op.
-
-
-
-
- Checks if the command to be executed meets the precondition requirements.
-
- The context of the command.
- The command being executed.
- The service collection used for dependency injection.
-
-
-
- Requires the bot to have a specific permission in the channel a command is invoked in.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
- Gets or sets the error message if the precondition
- fails due to being run outside of a Guild channel.
-
-
-
-
- Requires the bot account to have a specific .
-
-
- This precondition will always fail if the command is being invoked in a .
-
-
- The that the bot must have. Multiple permissions can be specified
- by ORing the permissions together.
-
-
-
-
- Requires that the bot account to have a specific .
-
-
- The that the bot must have. Multiple permissions can be
- specified by ORing the permissions together.
-
-
-
-
-
-
-
- Defines the type of command context (i.e. where the command is being executed).
-
-
-
-
- Specifies the command to be executed within a guild.
-
-
-
-
- Specifies the command to be executed within a DM.
-
-
-
-
- Specifies the command to be executed within a group.
-
-
-
-
- Requires the command to be invoked in a specified context (e.g. in guild, DM).
-
-
-
-
- Gets the context required to execute the command.
-
-
-
- Requires the command to be invoked in the specified context.
- The type of context the command can be invoked in. Multiple contexts can be specified by ORing the contexts together.
-
-
- [Command("secret")]
- [RequireContext(ContextType.DM | ContextType.Group)]
- public Task PrivateOnlyAsync()
- {
- return ReplyAsync("shh, this command is a secret");
- }
-
-
-
-
-
-
-
-
- Requires the command to be invoked in a channel marked NSFW.
-
-
- The precondition will restrict the access of the command or module to be accessed within a guild channel
- that has been marked as mature or NSFW. If the channel is not of type or the
- channel is not marked as NSFW, the precondition will fail with an erroneous .
-
-
- The following example restricts the command too-cool to an NSFW-enabled channel only.
-
- public class DankModule : ModuleBase
- {
- [Command("cool")]
- public Task CoolAsync()
- => ReplyAsync("I'm cool for everyone.");
-
- [RequireNsfw]
- [Command("too-cool")]
- public Task TooCoolAsync()
- => ReplyAsync("You can only see this if you're cool enough.");
- }
-
-
-
-
-
-
-
-
- Requires the command to be invoked by the owner of the bot.
-
-
- This precondition will restrict the access of the command or module to the owner of the Discord application.
- If the precondition fails to be met, an erroneous will be returned with the
- message "Command can only be run by the owner of the bot."
-
- This precondition will only work if the account has a of
- ;otherwise, this precondition will always fail.
-
-
-
-
-
-
-
-
- Requires the user invoking the command to have a specified role.
-
-
-
-
- Gets the specified Role name of the precondition.
-
-
-
-
- Gets the specified Role ID of the precondition.
-
-
-
-
- Gets or sets the error message if the precondition
- fails due to being run outside of a Guild channel.
-
-
-
-
- Requires that the user invoking the command to have a specific Role.
-
- Id of the role that the user must have.
-
-
-
- Requires that the user invoking the command to have a specific Role.
-
- Name of the role that the user must have.
-
-
-
-
-
-
- Requires the user invoking the command to have a specified permission.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
- Gets the specified of the precondition.
-
-
-
-
- Gets or sets the error message if the precondition
- fails due to being run outside of a Guild channel.
-
-
-
-
- Requires that the user invoking the command to have a specific .
-
-
- This precondition will always fail if the command is being invoked in a .
-
-
- The that the user must have. Multiple permissions can be
- specified by ORing the permissions together.
-
-
-
-
- Requires that the user invoking the command to have a specific .
-
-
- The that the user must have. Multiple permissions can be
- specified by ORing the permissions together.
-
-
-
-
-
-
-
- Customize the name and description of an Slash Application Command parameter.
-
-
-
-
- Gets the name of the parameter.
-
-
-
-
- Gets the description of the parameter.
-
-
-
-
- Modify the default name and description values of a Slash Command parameter.
-
- Name of the parameter.
- Description of the parameter.
-
-
-
- Base class for creating Autocompleters. uses Autocompleters to generate parameter suggestions.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represent a Autocomplete handler object that can be executed to generate parameter suggestions.
-
-
-
-
- Gets the the underlying command service.
-
-
-
-
- Will be used to generate parameter suggestions.
-
- Command execution context.
- Autocomplete Interaction payload.
- Parameter information of the target parameter.
- Dependencies that will be used to create the module instance.
-
- A task representing the execution process. The task result contains the Autocompletion result.
-
-
-
-
- Executes the with the provided context.
-
- The execution context.
- AutocompleteInteraction payload.
- Parameter information of the target parameter.
- Dependencies that will be used to create the module instance.
-
- A task representing the execution process. The task result contains the execution result.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets the name of the target parameter.
-
-
-
-
- Gets the name of the target command.
-
-
-
-
- Initializes a new .
-
- Parent module of this command.
- Name of this command.
- Execution callback of this command.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds a command parameter to the parameters collection.
-
- factory.
-
- The builder instance.
-
-
-
-
- Represents the base builder class for creating .
-
- The this builder yields when built.
- Inherited type.
- Builder type for this commands parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds parameter builders to .
-
- New parameter builders to be added to .
-
- The builder instance.
-
-
-
-
- Adds preconditions to .
-
- New preconditions to be added to .
-
- The builder instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Initializes a new .
-
- Parent module of this command.
- Name of this command.
- Execution callback of this command.
-
-
-
- Adds a command parameter to the parameters collection.
-
- factory.
-
- The builder instance.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets the type of this command.
-
-
-
-
- Gets the default permission of this command.
-
-
-
-
- Gets whether this command can be used in DMs.
-
-
-
-
- Gets whether this command is age restricted.
-
-
-
-
- Gets the default permissions needed for executing this command.
-
-
-
-
- Initializes a new .
-
- Parent module of this command.
- Name of this command.
- Execution callback of this command.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds a command parameter to the parameters collection.
-
- factory.
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Represent a command builder for creating .
-
-
-
-
- Gets the execution delegate of this command.
-
-
-
-
- Gets the parent module of this command.
-
-
-
-
- Gets the name of this command.
-
-
-
-
- Gets or sets the method name of this command.
-
-
-
-
- Gets or sets if this command will be registered and executed as a standalone command, unaffected by the s of
- of the commands parents.
-
-
-
-
- Gets or sets whether the should be directly used as a Regex pattern.
-
-
-
-
- Gets or sets the run mode this command gets executed with.
-
-
-
-
- Gets a collection of the attributes of this command.
-
-
-
-
- Gets a collection of the parameters of this command.
-
-
-
-
- Gets a collection of the preconditions of this command.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds parameter builders to .
-
- New parameter builders to be added to .
-
- The builder instance.
-
-
-
-
- Adds preconditions to .
-
- New preconditions to be added to .
-
- The builder instance.
-
-
-
-
- Represents a builder for creating a .
-
-
-
-
- Initializes a new .
-
- Parent module of this modal.
-
-
-
- Initializes a new .
-
- Parent module of this modal.
- Name of this modal.
- Execution callback of this modal.
-
-
-
- Adds a modal parameter to the parameters collection.
-
- factory.
-
- The builder instance.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets and sets the description of this command.
-
-
-
-
- Gets and sets the default permission of this command.
-
-
-
-
- Gets whether this command can be used in DMs.
-
-
-
-
- Gets whether this command is age restricted.
-
-
-
-
- Gets the default permissions needed for executing this command.
-
-
-
-
- Initializes a new .
-
- Parent module of this command.
- Name of this command.
- Execution callback of this command.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds a command parameter to the parameters collection.
-
- factory.
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Represent a builder for creating .
-
-
-
-
- Gets the parent modal of this input component.
-
-
-
-
- Gets the custom id of this input component.
-
-
-
-
- Gets the label of this input component.
-
-
-
-
- Gets whether this input component is required.
-
-
-
-
- Gets the component type of this input component.
-
-
-
-
- Get the reference type of this input component.
-
-
-
-
- Get the of this component's property.
-
-
-
-
- Get the assigned to this input.
-
-
-
-
- Gets the default value of this input component.
-
-
-
-
- Gets a collection of the attributes of this component.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Represents the base builder class for creating .
-
- The this builder yields when built.
- Inherited type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates an instance of
-
- Parent modal of this input component.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets and sets the style of the text input.
-
-
-
-
- Gets and sets the placeholder of the text input.
-
-
-
-
- Gets and sets the minimum length of the text input.
-
-
-
-
- Gets and sets the maximum length of the text input.
-
-
-
-
- Gets and sets the initial value to be displayed by this input.
-
-
-
-
- Initializes a new .
-
- Parent modal of this component.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets the initialization delegate for this modal.
-
-
-
-
- Gets the title of this modal.
-
-
-
-
- Gets the implementation used to initialize this object.
-
-
-
-
- Gets a collection of the components of this modal.
-
-
-
-
- Initializes a new
-
- The initialization delegate for this modal.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds text components to .
-
- Text Component builder factory.
-
- The builder instance.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets the underlying Interaction Service.
-
-
-
-
- Gets the parent module if this module is a sub-module.
-
-
-
-
- Gets the name of this module.
-
-
-
-
- Gets and sets the group name of this module.
-
-
-
-
- Gets whether this has a .
-
-
-
-
- Gets and sets the description of this module.
-
-
-
-
- Gets and sets the default permission of this module.
-
-
-
-
- Gets whether this command can be used in DMs.
-
-
-
-
- Gets whether this command is age restricted.
-
-
-
-
- Gets the default permissions needed for executing this command.
-
-
-
-
- Gets and sets whether this has a .
-
-
-
-
- Gets a collection of the attributes of this module.
-
-
-
-
- Gets a collection of the preconditions of this module.
-
-
-
-
- Gets a collection of the sub-modules of this module.
-
-
-
-
- Gets a collection of the Slash Commands of this module.
-
-
-
-
- Gets a collection of the Context Commands of this module.
-
-
-
-
- Gets a collection of the Component Commands of this module.
-
-
-
-
- Gets a collection of the Autocomplete Commands of this module.
-
-
-
-
- Gets a collection of the Modal Commands of this module.
-
-
-
-
- Initializes a new .
-
- The underlying Interaction Service.
- Name of this module.
- Parent module of this sub-module.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Adds preconditions to .
-
- New preconditions to be added to .
-
- The builder instance.
-
-
-
-
- Adds slash command builder to .
-
- factory.
-
- The builder instance.
-
-
-
-
- Adds slash command builder to .
-
- Name of the command.
- Command callback to be executed.
- factory.
-
- The builder instance.
-
-
-
-
- Adds context command builder to .
-
- factory.
-
- The builder instance.
-
-
-
-
- Adds context command builder to .
-
- Name of the command.
- Command callback to be executed.
- factory.
-
- The builder instance.
-
-
-
-
- Adds component command builder to .
-
- factory.
-
- The builder instance.
-
-
-
-
- Adds component command builder to .
-
- Name of the command.
- Command callback to be executed.
- factory.
-
- The builder instance.
-
-
-
-
- Adds autocomplete command builder to .
-
- factory.
-
- The builder instance.
-
-
-
-
- Adds autocomplete command builder to .
-
- Name of the command.
- Command callback to be executed.
- factory.
-
- The builder instance.
-
-
-
-
- Adds a modal command builder to .
-
- factory.
-
- The builder instance.
-
-
-
-
- Adds a modal command builder to .
-
- Name of the command.
- Command callback to be executed.
- factory.
-
- The builder instance.
-
-
-
-
- Adds sub-module builder to .
-
- factory.
-
- The builder instance.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Initializes a new .
-
- Parent command of this parameter.
- Name of this command.
- Type of this parameter.
-
-
-
- Represents a builder for creating .
-
-
-
-
- Get the assigned to this parameter, if is .
-
-
-
-
- Get the assigned to this parameter, if is .
-
-
-
-
- Gets whether this parameter is a CustomId segment or a Component value parameter.
-
-
-
-
-
-
-
- Initializes a new .
-
- Parent command of this parameter.
- Name of this command.
- Type of this parameter.
-
-
-
-
-
-
- Sets .
-
- New value of the .
- Service container to be used to resolve the dependencies of this parameters .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Represent a command builder for creating .
-
-
-
-
- Gets the parent command of this parameter.
-
-
-
-
- Gets the name of this parameter.
-
-
-
-
- Gets the type of this parameter.
-
-
-
-
- Gets whether this parameter is required.
-
-
-
-
- Gets whether this parameter is .
-
-
-
-
- Gets the default value of this parameter.
-
-
-
-
- Gets a collection of the attributes of this command.
-
-
-
-
- Gets a collection of the preconditions of this command.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Adds preconditions to .
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets the built class for this parameter, if is .
-
-
-
-
- Gets whether or not this parameter is an .
-
-
-
-
- Gets the assigned to this parameter, if is .
-
-
-
-
- Initializes a new .
-
- Parent command of this parameter.
- Name of this command.
- Type of this parameter.
-
-
-
-
-
-
- Represents the base builder class for creating .
-
- The this builder yields when built.
- Inherited type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds attributes to
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
- Adds preconditions to
-
- New attributes to be added to .
-
- The builder instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a builder for creating .
-
-
-
-
- Gets or sets the description of this parameter.
-
-
-
-
- Gets or sets the max value of this parameter.
-
-
-
-
- Gets or sets the min value of this parameter.
-
-
-
-
- Gets or sets the minimum length allowed for a string type parameter.
-
-
-
-
- Gets or sets the maximum length allowed for a string type parameter.
-
-
-
-
- Gets a collection of the choices of this command.
-
-
-
-
- Gets a collection of the channel types of this command.
-
-
-
-
- Gets the constructor parameters of this parameter, if is .
-
-
-
-
- Gets or sets whether this parameter should be configured for Autocomplete Interactions.
-
-
-
-
- Gets or sets the of this parameter.
-
-
-
-
- Gets whether this type should be treated as a complex parameter.
-
-
-
-
- Gets the initializer delegate for this parameter, if is .
-
-
-
-
- Gets or sets the of this parameter.
-
-
-
-
- Initializes a new .
-
- Parent command of this parameter.
- Name of this command.
- Type of this parameter.
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Sets .
-
- New value of the .
-
- The builder instance.
-
-
-
-
- Adds parameter choices to .
-
- New choices to be added to .
-
- The builder instance.
-
-
-
-
- Adds channel types to .
-
- New channel types to be added to .
-
- The builder instance.
-
-
-
-
- Adds channel types to .
-
- New channel types to be added to .
-
- The builder instance.
-
-
-
-
- Sets .
-
- Type of the .
- Service container to be used to resolve the dependencies of this parameters .
-
- The builder instance.
-
-
-
-
-
-
-
- Sets .
-
- New value of the .
- Service container to be used to resolve the dependencies of this parameters .
-
- The builder instance.
-
-
-
-
- Adds a parameter builders to .
-
- factory.
-
- The builder instance.
-
- Thrown if the added field has a .
-
-
-
- Adds parameter builders to .
-
- New parameter builders to be added to .
-
- The builder instance.
-
- Thrown if the added field has a .
-
-
-
- Represents a generic for use with the interaction service.
-
-
-
-
- Gets the modal's title.
-
-
-
-
- Represents a Slash Command parameter choice.
-
-
-
-
- Gets the name of the choice.
-
-
-
-
- Gets the value of the choice.
-
-
-
-
- Supported types of pre-defined parameter choices.
-
-
-
-
- Discord type for .
-
-
-
-
- Discord type for .
-
-
-
-
- Discord type for .
-
-
-
-
- Respond to an interaction with a .
-
- Type of the implementation.
- The interaction to respond to.
- Delegate that can be used to modify the modal.
- The request options for this request.
- A task that represents the asynchronous operation of responding to the interaction.
-
-
-
- Respond to an interaction with a .
-
-
- This method overload uses the parameter to create a new
- if there isn't a built one already in cache.
-
- Type of the implementation.
- The interaction to respond to.
- Interaction service instance that should be used to build s.
- The request options for this request.
- Delegate that can be used to modify the modal.
-
-
-
-
- Respond to an interaction with an and fills the value fields of the modal using the property values of the provided
- instance.
-
- Type of the implementation.
- The interaction to respond to.
- The instance to get field values from.
- The request options for this request.
- Delegate that can be used to modify the modal.
-
-
-
-
- Represents a generic interaction module base.
-
-
-
-
- Sets the context of this module.
-
-
-
-
-
- Method body to be executed asynchronously before executing an application command.
-
- Command information related to the Discord Application Command.
-
-
-
- Method body to be executed before executing an application command.
-
- Command information related to the Discord Application Command.
-
-
-
- Method body to be executed asynchronously after an application command execution.
-
- Command information related to the Discord Application Command.
-
-
-
- Method body to be executed after an application command execution.
-
- Command information related to the Discord Application Command.
-
-
-
- Method body to be executed when is called.
-
- Command Service instance that built this module.
- Info class of this module.
-
-
-
- Method body to be executed after the automated module creation is completed and before is called.
-
- Builder class of this module.
- Command Service instance that is building this method.
-
-
-
- Represents the info class of an attribute based method for handling Autocomplete Interaction events.
-
-
-
-
- Gets the name of the target parameter.
-
-
-
-
- Gets the name of the target command.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a cached method execution delegate.
-
- Execution context that will be injected into the module class.
- Method arguments array.
- Service collection for initializing the module.
- Command info class of the executed method.
-
- A task representing the execution operation.
-
-
-
-
- The base information class for commands.
-
- The type of that is used by this command type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the info class of an attribute based method for handling Component Interaction events.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Base information class for attribute based context command handlers.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the info class of an attribute based method for command type .
-
-
-
-
-
-
-
-
-
-
- Represents the info class of an attribute based method for command type .
-
-
-
-
-
-
-
-
-
-
- Represents the info class of an attribute based method for handling Modal Interaction events.
-
-
-
-
- Gets the class for this commands parameter.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the info class of an attribute based method for command type .
-
-
-
-
- Gets the command description that will be displayed on Discord.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the flattened collection of command parameters and complex parameter fields.
-
-
-
-
-
-
-
- Represents a command that can be registered to Discord.
-
-
-
-
- Gets the name of this command.
-
-
-
-
- Gets the type of this command.
-
-
-
-
- Gets the DefaultPermission of this command.
-
-
-
-
- Gets whether this command can be used in DMs.
-
-
-
-
- Gets whether this command can is age restricted.
-
-
-
-
- Gets the default permissions needed for executing this command.
-
-
-
-
- Represent a command information object that can be executed.
-
-
-
-
- Gets the name of the command.
-
-
-
-
- Gets the name of the command handler method.
-
-
-
-
- Gets if this command will be registered and executed as a standalone command, unaffected by the s of
- of the commands parents.
-
-
-
-
- Gets whether this command supports wild card patterns.
-
-
-
-
- Gets if this command is a top level command and none of its parents have a .
-
-
-
-
- Gets the module that the method belongs to.
-
-
-
-
- Gets the the underlying command service.
-
-
-
-
- Get the run mode this command gets executed with.
-
-
-
-
- Gets a collection of the attributes of this command.
-
-
-
-
- Gets a collection of the preconditions of this command.
-
-
-
-
- Gets a collection of the parameters of this command.
-
-
-
-
- Executes the command with the provided context.
-
- The execution context.
- Dependencies that will be used to create the module instance.
-
- A task representing the execution process. The task result contains the execution result.
-
-
-
-
- Check if an execution context meets the command precondition requirements.
-
-
-
-
- Represents the base info class for input components.
-
-
-
-
- Gets the parent modal of this component.
-
-
-
-
- Gets the custom id of this component.
-
-
-
-
- Gets the label of this component.
-
-
-
-
- Gets whether or not this component requires a user input.
-
-
-
-
- Gets the type of this component.
-
-
-
-
- Gets the reference type of this component.
-
-
-
-
- Gets the property linked to this component.
-
-
-
-
- Gets the assigned to this component.
-
-
-
-
- Gets the default value of this component.
-
-
-
-
- Gets a collection of the attributes of this command.
-
-
-
-
- Represents the class for type.
-
-
-
-
- Gets the style of the text input.
-
-
-
-
- Gets the placeholder of the text input.
-
-
-
-
- Gets the minimum length of the text input.
-
-
-
-
- Gets the maximum length of the text input.
-
-
-
-
- Gets the initial value to be displayed by this input.
-
-
-
-
- Represents a parameter.
-
-
-
-
- Gets the command that this parameter belongs to.
-
-
-
-
- Gets the name of this parameter.
-
-
-
-
- Gets the type of this parameter.
-
-
-
-
- Gets whether this parameter is required.
-
-
-
-
- Gets whether this parameter is marked with a keyword.
-
-
-
-
- Gets the default value of this parameter if the parameter is optional.
-
-
-
-
- Gets a list of the attributes this parameter has.
-
-
-
-
- Gets a list of the preconditions this parameter has.
-
-
-
-
- Check if an execution context meets the parameter precondition requirements.
-
-
-
-
- Represents a cached object initialization delegate.
-
- Property arguments array.
-
- Returns the constructed object.
-
-
-
-
- Represents the info class of an form.
-
-
-
-
- Gets the title of this modal.
-
-
-
-
- Gets the implementation used to initialize this object.
-
-
-
-
- Gets a collection of the components of this modal.
-
-
-
-
- Gets a collection of the text components of this modal.
-
-
-
-
- Creates an and fills it with provided message components.
-
- that will be injected into the modal.
-
- A filled with the provided components.
-
-
-
-
- Creates an and fills it with provided message components.
-
- Context of the that will be injected into the modal.
- Services to be passed onto the s of the modal fields.
- Whether or not this method should exit on encountering a missing modal field.
-
- A if a type conversion has failed, else a .
-
-
-
-
- Contains the information of a Interactions Module.
-
-
-
-
- Gets the underlying command service.
-
-
-
-
- Gets the name of this module class.
-
-
-
-
- Gets the group name of this module, if the module is marked with a .
-
-
-
-
- Gets if this module is marked with a .
-
-
-
-
- Gets the description of this module if is .
-
-
-
-
- Gets the default Permission of this module.
-
-
-
-
- Gets whether this command can be used in DMs.
-
-
-
-
- Gets whether this command is age restricted.
-
-
-
-
- Gets the default permissions needed for executing this command.
-
-
-
-
- Gets the collection of Sub Modules of this module.
-
-
-
-
- Gets the Slash Commands that are declared in this module.
-
-
-
-
- Gets the Context Commands that are declared in this module.
-
-
-
-
- Gets the Component Commands that are declared in this module.
-
-
-
-
- Gets the Autocomplete Commands that are declared in this module.
-
-
-
-
- Gets the declaring type of this module, if is .
-
-
-
-
- Gets if this module is declared by another .
-
-
-
-
- Gets a collection of the attributes of this module.
-
-
-
-
- Gets a collection of the preconditions of this module.
-
-
-
-
- Gets if this module has a valid and has no parent with a .
-
-
-
-
- Gets if this module will not be registered by
- or methods.
-
-
-
-
- Represents the base parameter info class for commands.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the parameter info class for commands.
-
-
-
-
- Gets the that will be used to convert a message component value into
- , if is false.
-
-
-
-
- Gets the that will be used to convert a CustomId segment value into
- , if is .
-
-
-
-
- Gets whether this parameter is a CustomId segment or a component value parameter.
-
-
-
-
- Represents the base parameter info class for modals.
-
-
-
-
- Gets the class for this parameter if is true.
-
-
-
-
- Gets whether this parameter is an
-
-
-
-
- Gets the assigned to this parameter, if is .
-
-
-
-
-
-
-
- Represents a cached argument constructor delegate.
-
- Method arguments array.
-
- Returns the constructed object.
-
-
-
-
- Represents the parameter info class for commands.
-
-
-
-
-
-
-
- Gets the description of the Slash Command Parameter.
-
-
-
-
- Gets the minimum value permitted for a number type parameter.
-
-
-
-
- Gets the maximum value permitted for a number type parameter.
-
-
-
-
- Gets the minimum length allowed for a string type parameter.
-
-
-
-
- Gets the maximum length allowed for a string type parameter.
-
-
-
-
- Gets the that will be used to convert the incoming into
- .
-
-
-
-
- Gets the that's linked to this parameter.
-
-
-
-
- Gets whether this parameter is configured for Autocomplete Interactions.
-
-
-
-
- Gets whether this type should be treated as a complex parameter.
-
-
-
-
- Gets the Discord option type this parameter represents. If the parameter is not a complex parameter.
-
-
-
-
- Gets the parameter choices of this Slash Application Command parameter.
-
-
-
-
- Gets the allowed channel types for this option.
-
-
-
-
- Gets the constructor parameters of this parameter, if is .
-
-
-
-
- Defines the type of error a command can throw.
-
-
-
-
- Thrown when the command is unknown.
-
-
-
-
- Thrown when the Slash Command parameter fails to be converted by a TypeReader.
-
-
-
-
- Thrown when the input text has too few or too many arguments.
-
-
-
-
- Thrown when an exception occurs mid-command execution.
-
-
-
-
- Thrown when the command is not successfully executed on runtime.
-
-
-
-
- Thrown when the command fails to meet a 's conditions.
-
-
-
-
- Thrown when the command context cannot be parsed by the .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new .
-
- The underlying client.
- The underlying interaction.
- the command originated from.
-
-
-
-
-
-
-
-
-
- Provides a base class for a command module to inherit from.
-
- Type of interaction context to be injected into the module.
-
-
-
- Gets the underlying context of the command.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Provides a base class for a command module to inherit from.
-
-
-
-
- Provides the framework for building and registering Discord Application Commands.
-
-
-
-
- Occurs when a Slash Command related information is received.
-
-
-
-
- Occurs when any type of interaction is executed.
-
-
-
-
- Occurs when a Slash Command is executed.
-
-
-
-
- Occurs when a Context Command is executed.
-
-
-
-
- Occurs when a Message Component command is executed.
-
-
-
-
- Occurs when a Autocomplete command is executed.
-
-
-
-
- Occurs when a AutocompleteHandler is executed.
-
-
-
-
- Occurs when a Modal command is executed.
-
-
-
-
- Get the used by this Interaction Service instance to localize strings.
-
-
-
-
- Rest client to be used to register application commands.
-
-
-
-
- Represents all modules loaded within .
-
-
-
-
- Represents all Slash Commands loaded within .
-
-
-
-
- Represents all Context Commands loaded within .
-
-
-
-
- Represents all Component Commands loaded within .
-
-
-
-
- Represents all Modal Commands loaded within .
-
-
-
-
- Gets a collection of the cached classes that are referenced in registered s.
-
-
-
-
- Initialize a with provided configurations.
-
- The discord client.
- The configuration class.
-
-
-
- Initialize a with provided configurations.
-
- The discord client.
- The configuration class.
-
-
-
- Initialize a with provided configurations.
-
- The discord client.
- The configuration class.
-
-
-
- Initialize a with provided configurations.
-
- The discord client.
- The configuration class.
-
-
-
- Create and loads a using a builder factory.
-
- Name of the module.
- The for your dependency injection solution if using one; otherwise, pass .
- Module builder factory.
-
- A task representing the operation for adding modules. The task result contains the built module instance.
-
-
-
-
- Discover and load command modules from an .
-
- the command modules are defined in.
- The for your dependency injection solution if using one; otherwise, pass .
-
- A task representing the operation for adding modules. The task result contains a collection of the modules added.
-
-
-
-
- Add a command module from a .
-
- Type of the module.
- The for your dependency injection solution if using one; otherwise, pass .
-
- A task representing the operation for adding the module. The task result contains the built module.
-
-
- Thrown if this module has already been added.
-
-
- Thrown when the is not a valid module definition.
-
-
-
-
- Add a command module from a .
-
- Type of the module.
- The for your dependency injection solution if using one; otherwise, pass .
-
- A task representing the operation for adding the module. The task result contains the built module.
-
-
- Thrown if this module has already been added.
-
-
- Thrown when the is not a valid module definition.
-
-
-
-
- Register Application Commands from and to a guild.
-
- Id of the target guild.
- If , this operation will not delete the commands that are missing from .
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Register Application Commands from and to Discord on in global scope.
-
- If , this operation will not delete the commands that are missing from .
-
- A task representing the command registration process. The task result contains the active global application commands of bot.
-
-
-
-
- Register Application Commands from to a guild.
-
-
- Commands will be registered as standalone commands, if you want the to take effect,
- use . Registering a commands without group names might cause the command traversal to fail.
-
- The target guild.
- If , this operation will not delete the commands that are missing from .
- Commands to be registered to Discord.
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Register Application Commands from to a guild.
-
-
- Commands will be registered as standalone commands, if you want the to take effect,
- use . Registering a commands without group names might cause the command traversal to fail.
-
- The target guild ID.
- If , this operation will not delete the commands that are missing from .
- Commands to be registered to Discord.
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Register Application Commands from modules provided in to a guild.
-
- The target guild.
- If , this operation will not delete the commands that are missing from .
- Modules to be registered to Discord.
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Register Application Commands from modules provided in to a guild.
-
- The target guild ID.
- If , this operation will not delete the commands that are missing from .
- Modules to be registered to Discord.
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Register Application Commands from modules provided in as global commands.
-
- If , this operation will not delete the commands that are missing from .
- Modules to be registered to Discord.
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Register Application Commands from as global commands.
-
-
- Commands will be registered as standalone commands, if you want the to take effect,
- use . Registering a commands without group names might cause the command traversal to fail.
-
- If , this operation will not delete the commands that are missing from .
- Commands to be registered to Discord.
-
- A task representing the command registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Remove a command module.
-
- The of the module.
-
- A task that represents the asynchronous removal operation. The task result contains a value that
- indicates whether the module is successfully removed.
-
-
-
-
- Remove a command module.
-
- The of the module.
-
- A task that represents the asynchronous removal operation. The task result contains a value that
- indicates whether the module is successfully removed.
-
-
-
-
- Remove a command module.
-
- The to be removed from the service.
-
- A task that represents the asynchronous removal operation. The task result contains a value that
- indicates whether the is successfully removed.
-
-
-
-
- Unregister Application Commands from modules provided in from a guild.
-
- The target guild.
- Modules to be deregistered from Discord.
-
- A task representing the command de-registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Unregister Application Commands from modules provided in from a guild.
-
- The target guild ID.
- Modules to be deregistered from Discord.
-
- A task representing the command de-registration process. The task result contains the active application commands of the target guild.
-
-
-
-
- Search the registered slash commands using a .
-
- Interaction entity to perform the search with.
-
- The search result. When successful, result contains the found .
-
-
-
-
- Search the registered slash commands using a .
-
- Interaction entity to perform the search with.
-
- The search result. When successful, result contains the found .
-
-
-
-
- Search the registered slash commands using a .
-
- Interaction entity to perform the search with.
-
- The search result. When successful, result contains the found .
-
-
-
-
- Search the registered slash commands using a .
-
- Interaction entity to perform the search with.
-
- The search result. When successful, result contains the found .
-
-
-
-
- Search the registered slash commands using a .
-
- Interaction entity to perform the search with.
-
- The search result. When successful, result contains the found .
-
-
-
-
- Execute a Command from a given .
-
- Name context of the command.
- The service to be used in the command's dependency injection.
-
- A task representing the command execution process. The task result contains the result of the execution.
-
-
-
-
- Add a concrete type .
-
- Primary target of the .
- The instance.
-
-
-
- Add a concrete type .
-
- Primary target of the .
- The instance.
-
-
-
- Add a generic type .
-
- Generic Type constraint of the of the .
- Type of the .
-
-
-
- Add a generic type .
-
- Generic Type constraint of the of the .
- Type of the .
-
-
-
- Add a concrete type .
-
- Primary target of the .
- The instance.
-
-
-
- Add a concrete type .
-
- Primary target of the .
- The instance.
-
-
-
- Add a generic type .
-
- Generic Type constraint of the of the .
- Type of the .
-
-
-
- Add a generic type .
-
- Generic Type constraint of the of the .
- Type of the .
-
-
-
- Add a concrete type .
-
- Primary target of the .
- The instance.
-
-
-
- Add a concrete type .
-
- Primary target of the .
- The instance.
-
-
-
- Add a generic type .
-
- Generic Type constraint of the of the .
- Type of the .
-
-
-
- Add a generic type .
-
- Generic Type constraint of the of the .
- Type of the .
-
-
-
- Removes a type reader for the type .
-
- The type to remove the readers from.
- The reader if the resulting remove operation was successful.
- if the remove operation was successful; otherwise .
-
-
-
- Removes a type reader for the given type.
-
-
- Removing a from the will not dereference the from the loaded module/command instances.
- You need to reload the modules for the changes to take effect.
-
- The type to remove the reader from.
- The reader if the resulting remove operation was successful.
- if the remove operation was successful; otherwise .
-
-
-
- Removes a generic type reader from the type .
-
-
- Removing a from the will not dereference the from the loaded module/command instances.
- You need to reload the modules for the changes to take effect.
-
- The type to remove the readers from.
- The removed readers type.
- if the remove operation was successful; otherwise .
-
-
-
- Removes a generic type reader from the given type.
-
-
- Removing a from the will not dereference the from the loaded module/command instances.
- You need to reload the modules for the changes to take effect.
-
- The type to remove the reader from.
- The readers type if the remove operation was successful.
- if the remove operation was successful; otherwise .
-
-
-
- Serialize an object using a into a to be placed in a Component CustomId.
-
-
- Removing a from the will not dereference the from the loaded module/command instances.
- You need to reload the modules for the changes to take effect.
-
- Type of the object to be serialized.
- Object to be serialized.
- Services that will be passed on to the .
-
- A task representing the conversion process. The task result contains the result of the conversion.
-
-
-
-
- Serialize and format multiple objects into a Custom Id string.
-
- A composite format string.
- >Services that will be passed on to the s.
- Objects to be serialized.
-
- A task representing the conversion process. The task result contains the result of the conversion.
-
-
-
-
- Loads and caches an for the provided .
-
- Type of to be loaded.
-
- The built instance.
-
-
-
-
-
- Modify the command permissions of the matching Discord Slash Command.
-
- Module representing the top level Slash Command.
- Target guild.
- New permission values.
-
- The active command permissions after the modification.
-
-
-
-
- Modify the command permissions of the matching Discord Slash Command.
-
- Module representing the top level Slash Command.
- Target guild ID.
- New permission values.
-
- The active command permissions after the modification.
-
-
-
-
- Modify the command permissions of the matching Discord Slash Command.
-
- The Slash Command.
- Target guild.
- New permission values.
-
- The active command permissions after the modification.
-
-
-
-
- Modify the command permissions of the matching Discord Slash Command.
-
- The Slash Command.
- Target guild ID.
- New permission values.
-
- The active command permissions after the modification.
-
-
-
-
- Modify the command permissions of the matching Discord Slash Command.
-
- The Context Command.
- Target guild.
- New permission values.
-
- The active command permissions after the modification.
-
-
-
-
- Modify the command permissions of the matching Discord Slash Command.
-
- The Context Command.
- Target guild ID.
- New permission values.
-
- The active command permissions after the modification.
-
-
-
-
- Gets a .
-
- Declaring module type of this command, must be a type of .
- Method name of the handler, use of is recommended.
-
- instance for this command.
-
- Module or Slash Command couldn't be found.
-
-
-
- Gets a .
-
- Declaring module type of this command, must be a type of .
- Method name of the handler, use of is recommended.
-
- instance for this command.
-
- Module or Context Command couldn't be found.
-
-
-
- Gets a .
-
- Declaring module type of this command, must be a type of .
- Method name of the handler, use of is recommended.
-
- instance for this command.
-
- Module or Component Command couldn't be found.
-
-
-
- Gets a built .
-
- Type of the module, must be a type of .
-
- instance for this module.
-
-
-
-
-
-
-
- Represents a configuration class for .
-
-
-
-
- Gets or sets the minimum log level severity that will be sent to the event.
-
-
-
-
- Gets or sets the default commands should have, if one is not specified on the
- Command attribute or builder.
-
-
-
-
- Gets or sets whether commands should push exceptions up to the caller.
-
-
-
-
- Gets or sets the delimiters that will be used to separate group names and the method name when a Message Component Interaction is received.
-
-
-
-
- Gets or sets the string expression that will be treated as a wild card.
-
-
-
-
- Gets or sets the option to use compiled lambda expressions to create module instances and execute commands. This method improves performance at the cost of memory.
-
-
- For performance reasons, if you frequently use s with the service, it is highly recommended that you enable compiled lambdas.
-
-
-
-
- Gets or sets the option allowing you to use s.
-
-
- Since s are prioritized over s, if s are not used, this should be
- disabled to decrease the lookup time.
-
-
-
-
- Gets or sets whether new service scopes should be automatically created when resolving module dependencies on every command execution.
-
-
-
-
- Gets or sets delegate to be used by the when responding to a Rest based interaction.
-
-
-
-
- Gets or sets whether a command execution should exit when a modal command encounters a missing modal component value.
-
-
-
-
- Localization provider to be used when registering application commands.
-
-
-
-
- Represents a cached delegate for creating interaction responses to webhook based Discord Interactions.
-
- Execution context that will be injected into the module class.
- Body of the interaction response.
-
- A task representing the response operation.
-
-
-
-
- Represents a localization provider for Discord Application Commands.
-
-
-
-
- Get every the resource name for every available locale.
-
- Location of the resource.
- Type of the resource.
-
- A dictionary containing every available locale and the resource name.
-
-
-
-
- Get every the resource description for every available locale.
-
- Location of the resource.
- Type of the resource.
-
- A dictionary containing every available locale and the resource name.
-
-
-
-
- The default localization provider for Json resource files.
-
-
-
-
- Initializes a new instance of the class.
-
- Base path of the Json file.
- Name of the Json file.
-
-
-
-
-
-
-
-
-
- The default localization provider for Resx files.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the base resource.
- The main assembly for the resources.
- Cultures the should search for.
-
-
-
-
-
-
-
-
-
- Resource targets for localization.
-
-
-
-
- Target is a tagged with a .
-
-
-
-
- Target is an application command method.
-
-
-
-
- Target is a Slash Command parameter.
-
-
-
-
- Target is a Slash Command parameter choice.
-
-
-
-
- Provides a base class for a Rest based command module to inherit from.
-
- Type of interaction context to be injected into the module.
-
-
-
- Gets or sets the underlying Interaction Service.
-
-
-
-
- Defer a Rest based Discord Interaction using the delegate.
-
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The request options for this response.
-
- A Task representing the operation of creating the interaction response.
-
- Thrown if the interaction isn't a type of .
-
-
-
- Respond to a Rest based Discord Interaction using the delegate.
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A Task representing the operation of creating the interaction response.
-
- Thrown if the interaction isn't a type of .
-
-
-
- Responds to the interaction with a modal.
-
- The modal to respond with.
- The request options for this request.
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
- Contains the information of a Autocomplete Interaction result.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get the collection of Autocomplete suggestions to be displayed to the user.
-
-
-
-
- Initializes a new with no error and without any indicating the command service shouldn't
- return any suggestions.
-
-
- A that does not contain any errors.
-
-
-
-
- Initializes a new with no error.
-
- Autocomplete suggestions to be displayed to the user
-
- A that does not contain any errors.
-
-
-
-
- Initializes a new with a specified result; this may or may not be an
- successful execution depending on the and
- specified.
-
- The result to inherit from.
-
- A that inherits the error type and reason.
-
-
-
-
- Initializes a new with a specified exception, indicating an unsuccessful
- execution.
-
- The exception that caused the autocomplete process to fail.
-
- A that contains the exception that caused the unsuccessful execution, along
- with a of type as well as the exception message as the
- reason.
-
-
-
-
- Initializes a new with a specified and its
- reason, indicating an unsuccessful execution.
-
- The type of error.
- The reason behind the error.
-
- A that contains a and reason.
-
-
-
-
- Gets a string that indicates the autocompletion result.
-
-
- Success if is ; otherwise ":
- ".
-
-
-
-
- Contains information of the command's overall execution result.
-
-
-
-
- Gets the exception that may have occurred during the command execution.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new with no error, indicating a successful execution.
-
-
- A that does not contain any errors.
-
-
-
-
- Initializes a new with a specified and its
- reason, indicating an unsuccessful execution.
-
- The type of error.
- The reason behind the error.
-
- A that contains a and reason.
-
-
-
-
- Initializes a new with a specified exception, indicating an unsuccessful
- execution.
-
- The exception that caused the command execution to fail.
-
- A that contains the exception that caused the unsuccessful execution, along
- with a of type Exception as well as the exception message as the
- reason.
-
-
-
-
- Initializes a new with a specified result; this may or may not be an
- successful execution depending on the and
- specified.
-
- The result to inherit from.
-
- A that inherits the error type and reason.
-
-
-
-
- Gets a string that indicates the execution result.
-
-
- Success if is ; otherwise ":
- ".
-
-
-
-
- Contains information of the result related to a command.
-
-
-
-
- Gets the error type that may have occurred during the operation.
-
-
- A indicating the type of error that may have occurred during the operation;
- if the operation was successful.
-
-
-
-
- Gets the reason for the error.
-
-
- A string containing the error reason.
-
-
-
-
- Indicates whether the operation was successful or not.
-
-
- if the result is positive; otherwise .
-
-
-
-
- Represents a result type for grouped command preconditions.
-
-
-
-
- Gets the results of the preconditions of this group.
-
-
-
-
- Returns a with no errors.
-
-
-
-
- Returns a with and the .
-
- The exception that caused the precondition check to fail.
-
-
-
- Returns a with the specified type.
-
- The result of failure.
-
-
-
- Returns a with and the
- specified reason.
-
- The reason of failure.
- Precondition results of this group
-
-
-
- Represents a result type for command preconditions.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new class with the command type
- and reason.
-
- The type of failure.
- The reason of failure.
-
-
-
- Returns a with no errors.
-
-
-
-
- Returns a with and the .
-
- The exception that caused the precondition check to fail.
-
-
-
- Returns a with the specified type.
-
- The result of failure.
-
-
-
- Returns a with and the
- specified reason.
-
- The reason of failure.
-
-
-
- Represents the base class for creating command result containers.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new class with the type of error and reason.
-
- The type of failure, or if none.
- The reason of failure.
-
-
-
- Gets a string that indicates the runtime result.
-
-
- Success if is ; otherwise ":
- ".
-
-
-
-
- Contains information of a command search.
-
- Type of the target command type.
-
-
-
- Gets the input text of the command search.
-
-
-
-
- Gets the found command, if the search was successful.
-
-
-
-
- Gets the Regex groups captured by the wild card pattern.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new with no error, indicating a successful execution.
-
-
- A that does not contain any errors.
-
-
-
-
- Initializes a new with a specified and its
- reason, indicating an unsuccessful execution.
-
- The type of error.
- The reason behind the error.
-
- A that contains a and reason.
-
-
-
-
- Initializes a new with a specified exception, indicating an unsuccessful
- execution.
-
- The exception that caused the command execution to fail.
-
- A that contains the exception that caused the unsuccessful execution, along
- with a of type Exception as well as the exception message as the
- reason.
-
-
-
-
- Initializes a new with a specified result; this may or may not be an
- successful depending on the and
- specified.
-
- The result to inherit from.
-
- A that inherits the error type and reason.
-
-
-
-
-
-
-
- Represents a result type for .
-
-
-
-
- Gets the result of the conversion if the operation was successful.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns a with no errors.
-
-
-
-
- Returns a with and the .
-
- The exception that caused the type conversion to fail.
-
-
-
- Returns a with the specified error and the reason.
-
- The type of error.
- The reason of failure.
-
-
-
- Returns a with the specified type.
-
- The result of failure.
-
-
-
- Specifies the behavior of the command execution workflow.
-
-
-
-
-
- Executes the command on the same thread as gateway one.
-
-
-
-
- Executes the command on a different thread from the gateway one.
-
-
-
-
- The default behaviour set in .
-
-
-
-
- Base class for creating Component TypeConverters. uses TypeConverters to interface with Slash Command parameters.
-
-
-
-
- Will be used to search for alternative TypeConverters whenever the Command Service encounters an unknown parameter type.
-
- An object type.
-
- The boolean result.
-
-
-
-
- Will be used to read the incoming payload before executing the method body.
-
- Command execution context.
- Received option payload.
- Service provider that will be used to initialize the command module.
-
- The result of the read process.
-
-
-
-
-
-
-
-
-
-
- Enum values tagged with this attribute will not be displayed as a parameter choice
-
-
- This attribute must be used along with the default
-
-
-
-
- Base class for creating TypeConverters. uses TypeConverters to interface with Slash Command parameters.
-
-
-
-
- Will be used to search for alternative TypeConverters whenever the Command Service encounters an unknown parameter type.
-
-
-
-
-
-
- Will be used to get the Application Command Option type.
-
- The option type.
-
-
-
- Will be used to read the incoming payload before executing the method body.
-
- Command execution context.
- Received option payload.
- Service provider that will be used to initialize the command module.
- The result of the read process.
-
-
-
- Will be used to manipulate the outgoing command option, before the command gets registered to Discord.
-
-
-
-
-
-
-
-
-
-
- Base class for creating TypeConverters. uses TypeConverters to interface with Slash Command parameters.
-
-
-
-
- Will be used to search for alternative TypeReaders whenever the Command Service encounters an unknown parameter type.
-
- An object type.
-
- The boolean result.
-
-
-
-
- Will be used to read the incoming payload before executing the method body.
-
- Command execution context.
- Received option payload.
- Service provider that will be used to initialize the command module.
- The result of the read process.
-
-
-
- Will be used to serialize objects into strings.
-
- Object to be serialized.
-
- A task representing the conversion process. The result of the task contains the conversion result.
-
-
-
-
-
-
-
-
-
-
- Utility class containing helper methods for interacting with Discord Interactions.
-
-
-
-
- Wait for an Interaction event for a given amount of time as an asynchronous operation.
-
- Client that should be listened to for the event.
- Timeout duration for this operation.
- Delegate for checking whether an Interaction meets the requirements.
- Token for canceling the wait operation.
-
- A Task representing the asynchronous waiting operation. If the user responded in the given amount of time, Task result contains the user response,
- otherwise the Task result is .
-
-
-
-
- Wait for an Message Component Interaction event for a given amount of time as an asynchronous operation .
-
- Client that should be listened to for the event.
- The message that or should originate from.
- Timeout duration for this operation.
- Token for canceling the wait operation.
-
- A Task representing the asynchronous waiting operation with a result,
- the result is null if the process timed out before receiving a valid Interaction.
-
-
-
-
- Create a confirmation dialog and wait for user input asynchronously.
-
- Client that should be listened to for the event.
- Send the confirmation prompt to this channel.
- Timeout duration of this operation.
- Optional custom prompt message.
- Token for canceling the wait operation.
-
- A Task representing the asynchronous waiting operation with a result,
- the result is if the user declined the prompt or didnt answer in time, if the user confirmed the prompt.
-
-
-
-
- Create a type initializer using compiled lambda expressions
-
-
-
-
- Create a compiled lambda property setter.
-
-
-
-
- Respond to an interaction with a .
-
- Type of the implementation.
- The interaction to respond to.
- The request options for this request.
- Serialized payload to be used to create a HTTP response.
-
-
-
- Get the name of the executed command and its parents in hierarchical order.
-
-
-
- The name of the executed command and its parents in hierarchical order.
-
-
-
-
- Get the name of the executed command and its parents in hierarchical order.
-
-
-
- The name of the executed command and its parents in hierarchical order.
-
-
-
-
diff --git a/tempdnet/Discord.Net.Rest.dll b/tempdnet/Discord.Net.Rest.dll
deleted file mode 100644
index 950e802..0000000
Binary files a/tempdnet/Discord.Net.Rest.dll and /dev/null differ
diff --git a/tempdnet/Discord.Net.Rest.xml b/tempdnet/Discord.Net.Rest.xml
deleted file mode 100644
index bfbf566..0000000
--- a/tempdnet/Discord.Net.Rest.xml
+++ /dev/null
@@ -1,8541 +0,0 @@
-
-
-
- Discord.Net.Rest
-
-
-
- Urls
-
-
-
- Represents a vanity invite.
-
-
-
-
- The unique code for the invite link.
-
-
-
-
- The total amount of vanity invite uses.
-
-
-
-
- Gets the snowflake ID of the application.
-
-
-
-
- Gets the ID of the embed's image asset.
-
-
-
-
- Gets the application's description.
-
-
-
-
- Gets the ID of the application's icon.
-
-
-
-
- Gets the name of the application.
-
-
-
- Unknown OAuth token type.
-
-
- Unknown OAuth token type.
-
-
- Unknown OAuth token type.
-
-
-
- must not be equal to zero.
- -and-
- must be greater than zero.
-
-
- must not be .
- -and-
- must not be or empty.
-
-
-
- Message content is too long, length must be less or equal to .
-
-
- Message content is too long, length must be less or equal to .
- This operation may only be called with a token.
-
-
- Message content is too long, length must be less or equal to .
- This operation may only be called with a token.
-
-
- Message content is too long, length must be less or equal to .
- This operation may only be called with a token.
-
-
- This operation may only be called with a token.
-
-
- Message content is too long, length must be less or equal to .
-
-
- Message content is too long, length must be less or equal to .
- This operation may only be called with a token.
-
-
- Message content is too long, length must be less or equal to .
-
-
-
- and must not be equal to zero.
- -and-
- must be between 0 to 7.
-
- must not be .
-
-
- and must not be equal to zero.
-
-
- must not be equal to zero.
-
-
- must not be equal to zero.
- must not be .
-
-
- must not be equal to zero.
-
-
- cannot be blank.
- must not be .
-
-
- may not be equal to zero.
-
-
- may not be equal to zero.
-
-
- may not be equal to zero.
-
-
-
- may not be equal to zero.
- -and-
- and must be greater than zero.
- -and-
- must be lesser than 86400.
-
- must not be .
-
-
- Client is not logged in.
-
-
- Unsupported param type.
-
-
- The default RestClientProvider is not supported on this platform.
-
-
- Cannot read from image.
-
-
-
- Comparison of two arrays.
-
- The runtime of this method does not depend on the contents of the arrays. Using constant time
- prevents timing attacks that allow an attacker to learn if the arrays have a common prefix.
-
- It is important to use such a constant time comparison when verifying MACs.
-
- Byte array
- Byte array
- True if arrays are equal
-
-
-
- Comparison of two array segments.
-
- The runtime of this method does not depend on the contents of the arrays. Using constant time
- prevents timing attacks that allow an attacker to learn if the arrays have a common prefix.
-
- It is important to use such a constant time comparison when verifying MACs.
-
- Byte array segment
- Byte array segment
- True if contents of x and y are equal
-
-
-
- Comparison of two byte sequences.
-
- The runtime of this method does not depend on the contents of the arrays. Using constant time
- prevents timing attacks that allow an attacker to learn if the arrays have a common prefix.
-
- It is important to use such a constant time comparison when verifying MACs.
-
- Byte array
- Offset of byte sequence in the x array
- Byte array
- Offset of byte sequence in the y array
- Length of byte sequence
- True if sequences are equal
-
-
-
- Overwrites the contents of the array, wiping the previous content.
-
- Byte array
-
-
-
- Overwrites the contents of the array, wiping the previous content.
-
- Byte array
- Index of byte sequence
- Length of byte sequence
-
-
-
- Overwrites the contents of the array segment, wiping the previous content.
-
- Byte array segment
-
-
-
- Constant-time conversion of the bytes array to an upper-case hex string.
- Please see http://stackoverflow.com/a/14333437/445517 for the detailed explanation
-
- Byte array
- Hex representation of byte array
-
-
-
- Constant-time conversion of the bytes array to an lower-case hex string.
- Please see http://stackoverflow.com/a/14333437/445517 for the detailed explanation.
-
- Byte array
- Hex representation of byte array
-
-
-
- Converts the hex string to bytes. Case insensitive.
-
- Hex encoded byte sequence
- Byte array
-
-
-
- Encodes the bytes with the Base64 encoding.
- More compact than hex, but it is case-sensitive and uses the special characters `+`, `/` and `=`.
-
- Byte array
- Base 64 encoded data
-
-
-
- Decodes a Base64 encoded string back to bytes.
-
- Base 64 encoded data
- Byte array
-
-
-
- Encode a byte sequence as a base58-encoded string
-
- Byte sequence
- Encoding result
-
-
-
- // Decode a base58-encoded string into byte array
-
- Base58 data string
- Byte array
-
-
-
- Public Keys are 32 byte values. All possible values of this size a valid.
-
-
-
-
- Signatures are 64 byte values
-
-
-
-
- Private key seeds are 32 byte arbitrary values. This is the form that should be generated and stored.
-
-
-
-
- A 64 byte expanded form of private key. This form is used internally to improve performance
-
-
-
-
- Verify Ed25519 signature
-
- Signature bytes
- Message
- Public key
- True if signature is valid, false if it's not
-
-
-
- Verify Ed25519 signature
-
- Signature bytes
- Message
- Public key
- True if signature is valid, false if it's not
-
-
-
- Allocation and initialization of the new SHA-512 object.
-
-
-
-
- Performs an initialization of internal SHA-512 state.
-
-
-
-
- Updates internal state with data from the provided array segment.
-
- Array segment
-
-
-
- Updates internal state with data from the provided array.
-
- Array of bytes
- Offset of byte sequence
- Sequence length
-
-
-
- Finalizes SHA-512 hashing
-
- Output buffer
-
-
-
- Finalizes SHA-512 hashing.
-
- Hash bytes
-
-
-
- Calculates SHA-512 hash value for the given bytes array.
-
- Data bytes array
- Hash bytes
-
-
-
- Calculates SHA-512 hash value for the given bytes array.
-
- Data bytes array
- Offset of byte sequence
- Sequence length
- Hash bytes
-
-
-
- Represents a REST-Based ratelimit info.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the login state of the client.
-
-
-
-
- Gets the logged-in user.
-
-
-
-
-
-
- Creates a new REST-only Discord client.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creating a guild is not supported with the base client.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Unexpected channel type.
-
-
-
- Provides a client to send REST-based requests to Discord.
-
-
-
-
- Gets the logged-in user.
-
-
-
-
-
-
-
- Initializes a new with the provided configuration.
-
- The configuration to be used with the client.
-
-
-
-
-
-
-
-
-
- Creates a from a http message.
-
- The public key of your application
- The signature sent with the interaction.
- The timestamp sent with the interaction.
- The body of the http message.
-
- A that represents the incoming http interaction.
-
- Thrown when the signature doesn't match the public key.
-
-
-
- Creates a from a http message.
-
- The public key of your application
- The signature sent with the interaction.
- The timestamp sent with the interaction.
- The body of the http message.
-
- A that represents the incoming http interaction.
-
- Thrown when the signature doesn't match the public key.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a configuration class for .
-
-
-
- Gets or sets the provider used to generate new REST connections.
-
-
-
- Contains a piece of audit log data related to message getting blocked by automod.
-
-
-
-
- Gets the channel the message was sent in.
-
-
-
-
- Gets the name of the auto moderation rule that got triggered.
-
-
-
-
- Gets the trigger type of the auto moderation rule that got triggered.
-
-
-
-
- Contains a piece of audit log data related to message getting flagged by automod.
-
-
-
-
- Gets the channel the message was sent in.
-
-
-
-
- Gets the name of the auto moderation rule that got triggered.
-
-
-
-
- Gets the trigger type of the auto moderation rule that got triggered.
-
-
-
-
- Contains a piece of audit log data related to an auto moderation rule creation.
-
-
-
-
- Gets the auto moderation rule information after the changes.
-
-
-
-
- Contains a piece of audit log data related to an auto moderation rule removal.
-
-
-
-
- Gets the auto moderation rule information before the changes.
-
-
-
-
- Represents information for an auto moderation rule.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to an auto moderation rule update.
-
-
-
-
- Gets the auto moderation rule the changes correspond to.
-
-
-
-
- Gets the auto moderation rule information before the changes.
-
-
-
-
- Gets the auto moderation rule information after the changes.
-
-
-
-
- Contains a piece of audit log data related to user getting in timeout by automod.
-
-
-
-
- Gets the channel the message was sent in.
-
-
-
-
- Gets the name of the auto moderation rule that got triggered.
-
-
-
-
- Gets the trigger type of the auto moderation rule that got triggered.
-
-
-
-
- Contains a piece of audit log data related to a ban.
-
-
-
-
- Gets the user that was banned.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the banned user.
-
-
-
-
- Contains a piece of audit log data related to a adding a bot to a guild.
-
-
-
-
- Gets the bot that was added.
-
-
- Will be if the bot is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the bot.
-
-
-
-
- Contains a piece of audit log data related to a channel creation.
-
-
-
-
- Gets the snowflake ID of the created channel.
-
-
- A representing the snowflake identifier for the created channel.
-
-
-
-
- Gets the name of the created channel.
-
-
- A string containing the name of the created channel.
-
-
-
-
- Gets the type of the created channel.
-
-
- The type of channel that was created.
-
-
-
-
- Gets the current slow-mode delay of the created channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the value that indicates whether the created channel is NSFW.
-
-
- if the created channel has the NSFW flag enabled; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets the bit-rate that the clients in the created voice channel are requested to use.
-
-
- An representing the bit-rate (bps) that the created voice channel defines and requests the
- client(s) to use.
- if this is not mentioned in this entry.
-
-
-
-
- Gets a collection of permission overwrites that was assigned to the created channel.
-
-
- A collection of permission , containing the permission overwrites that were
- assigned to the created channel.
-
-
-
-
- Gets the thread archive duration that was set in the created channel.
-
-
-
-
- Gets the default thread archive duration that was set in the created channel.
-
-
-
-
- Gets the default slow mode interval that will be set in child threads in the channel.
-
-
-
-
- Gets the topic that was set in the created channel.
-
-
-
-
- Gets tags available in the created forum channel.
-
-
-
-
- Gets the default reaction added to posts in the created forum channel.
-
-
-
-
- Gets the user limit configured in the created voice channel.
-
-
-
-
- Gets the video quality mode configured in the created voice channel.
-
-
-
-
- Gets the region configured in the created voice channel.
-
-
-
-
- Gets channel flags configured for the created channel.
-
-
-
-
- Contains a piece of audit log data related to a channel deletion.
-
-
-
-
- Gets the snowflake ID of the deleted channel.
-
-
- A representing the snowflake identifier for the deleted channel.
-
-
-
-
- Gets the name of the deleted channel.
-
-
- A string containing the name of the deleted channel.
-
-
-
-
- Gets the type of the deleted channel.
-
-
- The type of channel that was deleted.
-
-
-
-
- Gets the slow-mode delay of the deleted channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the value that indicates whether the deleted channel was NSFW.
-
-
- if this channel had the NSFW flag enabled; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets the bit-rate of this channel if applicable.
-
-
- An representing the bit-rate set of the voice channel.
- if this is not mentioned in this entry.
-
-
-
-
- Gets a collection of permission overwrites that was assigned to the deleted channel.
-
-
- A collection of permission .
-
-
-
-
- Gets the user limit configured in the created voice channel.
-
-
-
-
- Gets the video quality mode configured in the created voice channel.
-
-
-
-
- Gets the region configured in the created voice channel.
-
-
-
-
- Gets channel flags configured for the created channel.
-
-
-
-
- Gets the thread archive duration that was configured for the created channel.
-
-
-
-
- Gets the default slow mode interval that was configured for the channel.
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
- Represents information for a channel.
-
-
-
-
- Gets the name of this channel.
-
-
- A string containing the name of this channel.
-
-
-
-
- Gets the topic of this channel.
-
-
- A string containing the topic of this channel, if any.
-
-
-
-
- Gets the current slow-mode delay of this channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the value that indicates whether this channel is NSFW.
-
-
- if this channel has the NSFW flag enabled; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets the bit-rate of this channel if applicable.
-
-
- An representing the bit-rate set for the voice channel;
- if this is not mentioned in this entry.
-
-
-
-
- Gets the type of this channel.
-
-
- The channel type of this channel; if not applicable.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Gets the user limit configured in the created voice channel.
-
-
-
-
- Gets the video quality mode configured in the created voice channel.
-
-
-
-
- Gets the region configured in the created voice channel.
-
-
-
-
- Gets channel flags configured for the created channel.
-
-
-
-
- Gets the thread archive duration that was set in the created channel.
-
-
-
-
- Gets the default slow mode interval that will be set in child threads in the channel.
-
-
-
-
- Contains a piece of audit log data related to a channel update.
-
-
-
-
- Gets the snowflake ID of the updated channel.
-
-
- A representing the snowflake identifier for the updated channel.
-
-
-
-
- Gets the channel information before the changes.
-
-
- An information object containing the original channel information before the changes were made.
-
-
-
-
- Gets the channel information after the changes.
-
-
- An information object containing the channel information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to an application command permission update.
-
-
-
-
- Gets the ID of the app whose permissions were targeted.
-
-
-
-
- Gets the application command which permissions were updated.
-
-
-
-
- Gets values of the permissions before the change if available.
-
-
-
-
- Gets values of the permissions after the change if available.
-
-
-
-
- Contains a piece of audit log data related to an emoji creation.
-
-
-
-
- Gets the snowflake ID of the created emoji.
-
-
- A representing the snowflake identifier for the created emoji.
-
-
-
-
- Gets the name of the created emoji.
-
-
- A string containing the name of the created emoji.
-
-
-
-
- Contains a piece of audit log data related to an emoji deletion.
-
-
-
-
- Gets the snowflake ID of the deleted emoji.
-
-
- A representing the snowflake identifier for the deleted emoji.
-
-
-
-
- Gets the name of the deleted emoji.
-
-
- A string containing the name of the deleted emoji.
-
-
-
-
- Contains a piece of audit log data related to an emoji update.
-
-
-
-
- Gets the snowflake ID of the updated emoji.
-
-
- A representing the snowflake identifier of the updated emoji.
-
-
-
-
- Gets the new name of the updated emoji.
-
-
- A string containing the new name of the updated emoji.
-
-
-
-
- Gets the old name of the updated emoji.
-
-
- A string containing the old name of the updated emoji.
-
-
-
-
- Represents information for a guild.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Gets the amount of time (in seconds) a user must be inactive in a voice channel for until they are
- automatically moved to the AFK voice channel.
-
-
- An representing the amount of time in seconds for a user to be marked as inactive
- and moved into the AFK voice channel.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the default message notifications for users who haven't explicitly set their notification settings.
-
-
- The default message notifications setting of this guild.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the ID of the AFK voice channel for this guild.
-
-
- A representing the snowflake identifier of the AFK voice channel; if
- none is set.
-
-
-
-
- Gets the name of this guild.
-
-
- A string containing the name of this guild.
-
-
-
-
- Gets the ID of the region hosting this guild's voice channels.
-
-
-
-
- Gets the ID of this guild's icon.
-
-
- A string containing the identifier for the splash image; if none is set.
-
-
-
-
- Gets the level of requirements a user must fulfill before being allowed to post messages in this guild.
-
-
- The level of requirements.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the owner of this guild.
-
-
- A user object representing the owner of this guild.
-
-
-
-
- Gets the level of Multi-Factor Authentication requirements a user must fulfill before being allowed to
- perform administrative actions in this guild.
-
-
- The level of MFA requirement.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the level of content filtering applied to user's content in a Guild.
-
-
- The level of explicit content filtering.
-
-
-
-
- Gets the ID of the channel where system messages are sent.
-
-
- A representing the snowflake identifier of the channel where system
- messages are sent; if none is set.
-
-
-
-
- Gets the ID of the widget embed channel of this guild.
-
-
- A representing the snowflake identifier of the embedded channel found within the
- widget settings of this guild; if none is set.
-
-
-
-
- Gets a value that indicates whether this guild is embeddable (i.e. can use widget).
-
-
- if this guild can be embedded via widgets; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to a guild update.
-
-
-
-
- Gets the guild information before the changes.
-
-
- An information object containing the original guild information before the changes were made.
-
-
-
-
- Gets the guild information after the changes.
-
-
- An information object containing the guild information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to an integration authorization.
-
-
-
-
- Gets the partial integration the changes correspond to.
-
-
-
-
- Gets the integration information after the changes.
-
-
-
-
- Contains a piece of audit log data related to an integration removal.
-
-
-
-
- Gets the integration information before the changes.
-
-
-
-
- Represents information for an integration.
-
-
-
-
- Gets the name of the integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the type of the integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets if the integration is enabled. if the property was not mentioned in this audit log.
-
-
-
-
- Gets if syncing is enabled for this integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the id of the role that this integration uses for subscribers. if the property was not mentioned in this audit log.
-
-
-
-
- Gets whether emoticons should be synced for this integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the behavior of expiring subscribers. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the grace period (in days) before expiring subscribers. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the scopes the application has been authorized for. if the property was not mentioned in this audit log.
-
-
-
-
- Contains a piece of audit log data related to an integration update.
-
-
-
-
- Gets the partial integration the changes correspond to.
-
-
-
-
- Gets the integration information before the changes.
-
-
-
-
- Gets the integration information after the changes.
-
-
-
-
- Contains a piece of audit log data related to an invite creation.
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets a value that determines whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off; otherwise
- .
-
-
-
-
- Gets the user that created this invite if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user that created this invite or .
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- A representing the channel snowflake identifier that the invite points to.
-
-
-
-
- Gets the number of times this invite has been used.
-
-
- An representing the number of times this invite was used.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is set.
-
-
-
-
- Contains a piece of audit log data related to an invite removal.
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets a value that indicates whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off; otherwise
- .
-
-
-
-
- Gets the user that created this invite if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user that created this invite or .
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- A representing the channel snowflake identifier that the invite points to.
-
-
-
-
- Gets the number of times this invite has been used.
-
-
- An representing the number of times this invite has been used.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is set.
-
-
-
-
- Represents information for an invite.
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires; if this
- invite never expires or not specified.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets a value that indicates whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off,
- if not; if not specified.
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- A representing the channel snowflake identifier that the invite points to;
- if not specified.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is specified.
-
-
-
-
- Gets the id of the user created this invite.
-
-
-
-
- Contains a piece of audit log data relating to an invite update.
-
-
-
-
- Gets the invite information before the changes.
-
-
- An information object containing the original invite information before the changes were made.
-
-
-
-
- Gets the invite information after the changes.
-
-
- An information object containing the invite information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to a kick.
-
-
-
-
- Gets the user that was kicked.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the kicked user.
-
-
-
-
- Contains a piece of audit log data related to disconnecting members from voice channels.
-
-
-
-
- Gets the number of members that were disconnected.
-
-
- An representing the number of members that were disconnected from a voice channel.
-
-
-
-
- Represents information for a member.
-
-
-
-
- Gets the nickname of the updated member.
-
-
- A string representing the nickname of the updated member; if none is set.
-
-
-
-
- Gets a value that indicates whether the updated member is deafened by the guild.
-
-
- if the updated member is deafened (i.e. not permitted to listen to or speak to others) by the guild;
- otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets a value that indicates whether the updated member is muted (i.e. not permitted to speak via voice) by the
- guild.
-
-
- if the updated member is muted by the guild; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets the date and time that indicates if and for how long the updated user has been timed out.
-
-
- or a timestamp in the past if the user is not timed out.
-
-
- A indicating how long the user will be timed out for.
-
-
-
-
- Contains a piece of audit log data related to moving members between voice channels.
-
-
-
-
- Gets the ID of the channel that the members were moved to.
-
-
- A representing the snowflake identifier for the channel that the members were moved to.
-
-
-
-
- Gets the number of members that were moved.
-
-
- An representing the number of members that were moved to another voice channel.
-
-
-
-
- Contains a piece of audit log data related to a change in a guild member's roles.
-
-
-
-
- Gets a collection of role changes that were performed on the member.
-
-
- A read-only collection of , containing the roles that were changed on
- the member.
-
-
-
-
- Gets the user that the roles changes were performed on.
-
-
- A user object representing the user that the role changes were performed on.
-
-
-
-
- An information object representing a change in one of a guild member's roles.
-
-
-
-
- Gets the name of the role that was changed.
-
-
- A string containing the name of the role that was changed.
-
-
-
-
- Gets the ID of the role that was changed.
-
-
- A representing the snowflake identifier of the role that was changed.
-
-
-
-
- Gets a value that indicates whether the role was added to the user.
-
-
- if the role was added to the user; otherwise .
-
-
-
-
- Gets a value indicating that the user role has been removed.
-
-
- true if the role has been removed from the user; otherwise false.
-
-
-
-
- Contains a piece of audit log data related to a change in a guild member.
-
-
-
-
- Gets the user that the changes were performed on.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user who the changes were performed on.
-
-
-
-
- Gets the member information before the changes.
-
-
- An information object containing the original member information before the changes were made.
-
-
-
-
- Gets the member information after the changes.
-
-
- An information object containing the member information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to message deletion(s).
-
-
-
-
- Gets the ID of the channel that the messages were deleted from.
-
-
- A representing the snowflake identifier for the channel that the messages were
- deleted from.
-
-
-
-
- Gets the number of messages that were deleted.
-
-
- An representing the number of messages that were deleted from the channel.
-
-
-
-
- Contains a piece of audit log data related to message deletion(s).
-
-
-
-
- Gets the number of messages that were deleted.
-
-
- An representing the number of messages that were deleted from the channel.
-
-
-
-
- Gets the ID of the channel that the messages were deleted from.
-
-
- A representing the snowflake identifier for the channel that the messages were
- deleted from.
-
-
-
-
- Gets the user of the messages that were deleted.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user that created the deleted messages.
-
-
-
-
- Contains a piece of audit log data related to a pinned message.
-
-
-
-
- Gets the ID of the messages that was pinned.
-
-
- A representing the snowflake identifier for the messages that was pinned.
-
-
-
-
- Gets the ID of the channel that the message was pinned from.
-
-
- A representing the snowflake identifier for the channel that the message was pinned from.
-
-
-
-
- Gets the user of the message that was pinned if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user that created the pinned message or .
-
-
-
-
- Contains a piece of audit log data related to an unpinned message.
-
-
-
-
- Gets the ID of the messages that was unpinned.
-
-
- A representing the snowflake identifier for the messages that was unpinned.
-
-
-
-
- Gets the ID of the channel that the message was unpinned from.
-
-
- A representing the snowflake identifier for the channel that the message was unpinned from.
-
-
-
-
- Gets the user of the message that was unpinned if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user that created the unpinned message or .
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to an onboarding prompt creation.
-
-
-
-
- Gets the onboarding prompt information after the changes.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to an onboarding prompt update.
-
-
-
-
- Gets the onboarding prompt information after the changes.
-
-
-
-
- Gets the onboarding prompt information before the changes.
-
-
-
-
- Contains a piece of audit log data related to a guild update.
-
-
-
-
- Gets the onboarding information after the changes.
-
-
-
-
- Gets the onboarding information before the changes.
-
-
-
-
- Contains a piece of audit log data for a permissions overwrite creation.
-
-
-
-
- Gets the ID of the channel that the overwrite was created from.
-
-
- A representing the snowflake identifier for the channel that the overwrite was
- created from.
-
-
-
-
- Gets the permission overwrite object that was created.
-
-
- An object representing the overwrite that was created.
-
-
-
-
- Contains a piece of audit log data related to the deletion of a permission overwrite.
-
-
-
-
- Gets the ID of the channel that the overwrite was deleted from.
-
-
- A representing the snowflake identifier for the channel that the overwrite was
- deleted from.
-
-
-
-
- Gets the permission overwrite object that was deleted.
-
-
- An object representing the overwrite that was deleted.
-
-
-
-
- Contains a piece of audit log data related to the update of a permission overwrite.
-
-
-
-
- Gets the ID of the channel that the overwrite was updated from.
-
-
- A representing the snowflake identifier for the channel that the overwrite was
- updated from.
-
-
-
-
- Gets the overwrite permissions before the changes.
-
-
- An overwrite permissions object representing the overwrite permissions that the overwrite had before
- the changes were made.
-
-
-
-
- Gets the overwrite permissions after the changes.
-
-
- An overwrite permissions object representing the overwrite permissions that the overwrite had after the
- changes.
-
-
-
-
- Gets the ID of the overwrite that was updated.
-
-
- A representing the snowflake identifier of the overwrite that was updated.
-
-
-
-
- Gets the target of the updated permission overwrite.
-
-
- The target of the updated permission overwrite.
-
-
-
-
- Contains a piece of audit log data related to a guild prune.
-
-
-
-
- Gets the threshold for a guild member to not be kicked.
-
-
- An representing the amount of days that a member must have been seen in the server,
- to avoid being kicked. (i.e. If a user has not been seen for more than , they will be
- kicked from the server)
-
-
-
-
- Gets the number of members that were kicked during the purge.
-
-
- An representing the number of members that were removed from this guild for having
- not been seen within .
-
-
-
-
- Contains a piece of audit log data related to a role creation.
-
-
-
-
- Gets the ID of the role that was created.
-
-
- A representing the snowflake identifier to the role that was created.
-
-
-
-
- Gets the role information that was created.
-
-
- An information object representing the properties of the role that was created.
-
-
-
-
- Contains a piece of audit log data relating to a role deletion.
-
-
-
-
- Gets the ID of the role that was deleted.
-
-
- A representing the snowflake identifier to the role that was deleted.
-
-
-
-
- Gets the role information that was deleted.
-
-
- An information object representing the properties of the role that was deleted.
-
-
-
-
- Represents information for a role edit.
-
-
-
-
- Gets the color of this role.
-
-
- A color object representing the color assigned to this role; if this role does not have a
- color.
-
-
-
-
- Gets a value that indicates whether this role is mentionable.
-
-
- if other members can mention this role in a text channel; otherwise ;
- if this is not mentioned in this entry.
-
-
-
-
- Gets a value that indicates whether this role is hoisted (i.e. its members will appear in a separate
- section on the user list).
-
-
- if this role's members will appear in a separate section in the user list; otherwise
- ; if this is not mentioned in this entry.
-
-
-
-
- Gets the name of this role.
-
-
- A string containing the name of this role.
-
-
-
-
- Gets the permissions assigned to this role.
-
-
- A guild permissions object representing the permissions that have been assigned to this role;
- if no permissions have been assigned.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Contains a piece of audit log data related to a role update.
-
-
-
-
- Gets the ID of the role that was changed.
-
-
- A representing the snowflake identifier of the role that was changed.
-
-
-
-
- Gets the role information before the changes.
-
-
- A role information object containing the role information before the changes were made.
-
-
-
-
- Gets the role information after the changes.
-
-
- A role information object containing the role information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to a scheduled event creation.
-
-
-
-
- Gets the scheduled event this log corresponds to.
-
-
-
-
- Gets the snowflake id of the event.
-
-
-
-
- Gets the snowflake id of the channel the event is associated with.
-
-
-
-
- Gets name of the event.
-
-
-
-
- Gets the description of the event. null if none is set.
-
-
-
-
- Gets the time the event was scheduled for.
-
-
-
-
- Gets the time the event was scheduled to end.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the snowflake id of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the metadata for the entity associated with the event.
-
-
-
-
- Gets the image hash of the image that was attached to the event. Null if not set.
-
-
-
-
- Contains a piece of audit log data related to a scheduled event deletion.
-
-
-
-
- Gets the snowflake id of the event.
-
-
-
-
- Gets the snowflake id of the channel the event is associated with.
-
-
-
-
- Gets name of the event.
-
-
-
-
- Gets the description of the event. null if none is set.
-
-
-
-
- Gets the time the event was scheduled for.
-
-
-
-
- Gets the time the event was scheduled to end.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the snowflake id of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the metadata for the entity associated with the event.
-
-
-
-
- Gets the image hash of the image that was attached to the event. Null if not set.
-
-
-
-
- Represents information for a scheduled event.
-
-
-
-
- Gets the snowflake id of the channel the event is associated with.
-
-
-
-
- Gets name of the event.
-
-
-
-
- Gets the description of the event. null if none is set.
-
-
-
-
- Gets the time the event was scheduled for.
-
-
-
-
- Gets the time the event was scheduled to end.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the snowflake id of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the metadata for the entity associated with the event.
-
-
-
-
- Gets the image hash of the image that was attached to the event. Null if not set.
-
-
-
-
- Contains a piece of audit log data related to a scheduled event updates.
-
-
-
-
- Gets the scheduled event this log corresponds to.
-
-
-
-
- Gets the snowflake id of the event.
-
-
-
-
- Gets the state before the change.
-
-
-
-
- Gets the state after the change.
-
-
-
-
- Represents information for a stage.
-
-
-
-
- Gets the topic of the stage channel.
-
-
-
-
- Gets the privacy level of the stage channel.
-
-
-
-
- Gets the user who started the stage channel.
-
-
-
-
- Contains a piece of audit log data related to a stage going live.
-
-
-
-
- Gets the topic of the stage channel.
-
-
-
-
- Gets the privacy level of the stage channel.
-
-
-
-
- Gets the user who started the stage channel.
-
-
-
-
- Gets the Id of the stage channel.
-
-
-
-
- Contains a piece of audit log data related to a stage instance deleted.
-
-
-
-
- Gets the topic of the stage channel.
-
-
-
-
- Gets the privacy level of the stage channel.
-
-
-
-
- Gets the user who started the stage channel.
-
-
-
-
- Gets the Id of the stage channel.
-
-
-
-
- Contains a piece of audit log data related to a stage instance update.
-
-
-
-
- Gets the Id of the stage channel.
-
-
-
-
- Gets the stage information before the changes.
-
-
-
-
- Gets the stage information after the changes.
-
-
-
-
- Contains a piece of audit log data related to a sticker creation.
-
-
-
-
- Gets the sticker information after the changes.
-
-
-
-
- Contains a piece of audit log data related to a sticker removal.
-
-
-
-
- Gets the sticker information before the changes.
-
-
-
-
- Represents information for a guild.
-
-
-
-
- Gets the name of the sticker. if the value was not updated in this entry.
-
-
-
-
- Gets tags of the sticker. if the value was not updated in this entry.
-
-
-
-
- Gets the description of the sticker. if the value was not updated in this entry.
-
-
-
-
- Contains a piece of audit log data related to a sticker update.
-
-
-
-
- Gets the sticker information before the changes.
-
-
-
-
- Gets the sticker information after the changes.
-
-
-
-
- Contains a piece of audit log data related to a thread creation.
-
-
-
-
- Gets the thread that was created if it still exists.
-
-
- A thread object representing the thread that was created if it still exists, otherwise returns .
-
-
-
-
- Gets the snowflake ID of the thread.
-
-
- A representing the snowflake identifier for the thread.
-
-
-
-
- Gets the name of the thread.
-
-
- A string containing the name of the thread.
-
-
-
-
- Gets the type of the thread.
-
-
- The type of thread.
-
-
-
-
- Gets the value that indicates whether the thread is archived.
-
-
- if this thread has the Archived flag enabled; otherwise .
-
-
-
-
- Gets the auto archive duration of the thread.
-
-
- The thread auto archive duration of the thread.
-
-
-
-
- Gets the value that indicates whether the thread is locked.
-
-
- if this thread has the Locked flag enabled; otherwise .
-
-
-
-
- Gets the slow-mode delay of the thread.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the applied tags of this thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the flags of the thread channel.
-
-
- if the property was not updated.
-
-
-
-
- Contains a piece of audit log data related to a thread deletion.
-
-
-
-
- Gets the snowflake ID of the deleted thread.
-
-
- A representing the snowflake identifier for the deleted thread.
-
-
-
-
-
- Gets the name of the deleted thread.
-
-
- A string containing the name of the deleted thread.
-
-
-
-
-
- Gets the type of the deleted thread.
-
-
- The type of thread that was deleted.
-
-
-
-
- Gets the value that indicates whether the deleted thread was archived.
-
-
- if this thread had the Archived flag enabled; otherwise .
-
-
-
-
- Gets the thread auto archive duration of the deleted thread.
-
-
- The thread auto archive duration of the thread that was deleted.
-
-
-
-
- Gets the value that indicates whether the deleted thread was locked.
-
-
- if this thread had the Locked flag enabled; otherwise .
-
-
-
-
- Gets the slow-mode delay of the deleted thread.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the applied tags of this thread.
-
-
- if this is not mentioned in this entry.
-
-
-
-
- Gets the flags of the thread channel.
-
-
- if this is not mentioned in this entry.
-
-
-
-
- Represents information for a thread.
-
-
-
-
- Gets the name of the thread.
-
-
-
-
- Gets the value that indicates whether the thread is archived.
-
-
- if the property was not updated.
-
-
-
-
- Gets the auto archive duration of thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the value that indicates whether the thread is locked.
-
-
- if the property was not updated.
-
-
-
-
- Gets the slow-mode delay of the thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the applied tags of this thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the flags of the thread channel.
-
-
- if the property was not updated.
-
-
-
-
- Gets the type of the thread.
-
-
- if the property was not updated.
-
-
-
-
- Contains a piece of audit log data related to a thread update.
-
-
-
-
- Gets the thread that was created if it still exists.
-
-
- A thread object representing the thread that was created if it still exists, otherwise returns .
-
-
-
-
- Gets the type of the thread.
-
-
- The type of thread.
-
-
-
-
- Gets the thread information before the changes.
-
-
- A thread information object representing the thread before the changes were made.
-
-
-
-
- Gets the thread information after the changes.
-
-
- A thread information object representing the thread after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to an unban.
-
-
-
-
- Gets the user that was unbanned.
-
-
- A user object representing the user that was unbanned.
-
-
-
-
- Contains a piece of audit log data related to a webhook creation.
-
-
-
-
- Gets the webhook that was created if it still exists.
-
-
- A webhook object representing the webhook that was created if it still exists, otherwise returns .
-
-
-
-
- Gets the webhook id.
-
-
- The webhook identifier.
-
-
-
-
- Gets the type of webhook that was created.
-
-
- The type of webhook that was created.
-
-
-
-
- Gets the name of the webhook.
-
-
- A string containing the name of the webhook.
-
-
-
-
- Gets the ID of the channel that the webhook could send to.
-
-
- A representing the snowflake identifier of the channel that the webhook could send
- to.
-
-
-
-
- Gets the hash value of the webhook's avatar.
-
-
- A string containing the hash of the webhook's avatar.
-
-
-
-
- Contains a piece of audit log data related to a webhook deletion.
-
-
-
-
- Gets the ID of the webhook that was deleted.
-
-
- A representing the snowflake identifier of the webhook that was deleted.
-
-
-
-
- Gets the ID of the channel that the webhook could send to.
-
-
- A representing the snowflake identifier of the channel that the webhook could send
- to.
-
-
-
-
- Gets the type of the webhook that was deleted.
-
-
- The type of webhook that was deleted.
-
-
-
-
- Gets the name of the webhook that was deleted.
-
-
- A string containing the name of the webhook that was deleted.
-
-
-
-
- Gets the hash value of the webhook's avatar.
-
-
- A string containing the hash of the webhook's avatar.
-
-
-
-
- Represents information for a webhook.
-
-
-
-
- Gets the name of this webhook.
-
-
- A string containing the name of this webhook.
-
-
-
-
- Gets the ID of the channel that this webhook sends to.
-
-
- A representing the snowflake identifier of the channel that this webhook can send
- to.
-
-
-
-
- Gets the hash value of this webhook's avatar.
-
-
- A string containing the hash of this webhook's avatar.
-
-
-
-
- Contains a piece of audit log data related to a webhook update.
-
-
-
-
- Gets the webhook that was updated.
-
-
- A webhook object representing the webhook that was updated.
-
-
-
-
- Gets the webhook information before the changes.
-
-
- A webhook information object representing the webhook before the changes were made.
-
-
-
-
- Gets the webhook information after the changes.
-
-
- A webhook information object representing the webhook after the changes were made.
-
-
-
-
- Represents a REST-based audit log entry.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- may not be equal to zero.
- -and-
- and must be greater than zero.
- -and-
- must be lesser than 86400.
-
-
-
-
- may not be equal to zero.
- -and-
- and must be greater than zero.
- -and-
- must be lesser than 86400.
-
-
-
-
- may not be equal to zero.
- -and-
- and must be greater than zero.
- -and-
- must be lesser than 86400.
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- is a zero-length string, contains only white space, or contains one or more
- invalid characters as defined by .
-
-
- is .
-
-
- The specified path, file name, or both exceed the system-defined maximum length. For example, on
- Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260
- characters.
-
-
- The specified path is invalid, (for example, it is on an unmapped drive).
-
-
- specified a directory.-or- The caller does not have the required permission.
-
-
- The file specified in was not found.
-
- is in an invalid format.
- An I/O error occurred while opening the file.
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
- The only valid are , and .
-
-
- Resolving permissions requires the parent guild to be downloaded.
-
-
- Resolving permissions requires the parent guild to be downloaded.
-
-
- This channel does not have a parent channel.
-
-
-
- Represents a REST-based channel that can send and receive messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a message from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The snowflake identifier of the message.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the message. The task result contains
- the retrieved message; if no message is found with the specified identifier.
-
-
-
-
- Gets the last N messages from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The ID of the starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of pinned messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation for retrieving pinned messages in this channel.
- The task result contains a collection of messages found in the pinned messages.
-
-
-
-
- Represents a REST-based channel that is private to select recipients.
-
-
-
-
- Users that can access this channel.
-
-
-
-
- Represents a REST-based category channel.
-
-
-
-
- This method is not supported with category channels.
-
-
-
- This method is not supported with category channels.
-
-
-
- Represents a generic REST-based channel.
-
-
-
-
-
-
- Unexpected channel type.
-
-
- Unexpected channel type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based direct-message channel.
-
-
-
-
- Gets the current logged-in user.
-
-
-
-
- Gets the recipient of the channel.
-
-
-
-
- Gets a collection that is the current logged-in user and the recipient.
-
-
-
-
-
-
-
-
-
-
- Gets a user in this channel from the provided .
-
- The snowflake identifier of the user.
-
- A object that is a recipient of this channel; otherwise .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
-
- is a zero-length string, contains only white space, or contains one or more
- invalid characters as defined by .
-
-
- is .
-
-
- The specified path, file name, or both exceed the system-defined maximum length. For example, on
- Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260
- characters.
-
-
- The specified path is invalid, (for example, it is on an unmapped drive).
-
-
- specified a directory.-or- The caller does not have the required permission.
-
-
- The file specified in was not found.
-
- is in an invalid format.
- An I/O error occurred while opening the file.
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
-
-
-
- Message content is too long, length must be less or equal to .
-
-
-
- Message content is too long, length must be less or equal to .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a string that represents the Username#Discriminator of the recipient.
-
-
- A string that resolves to the Recipient of this channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based forum channel in a guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based group-message channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
-
- is a zero-length string, contains only white space, or contains one or more
- invalid characters as defined by .
-
-
- is .
-
-
- The specified path, file name, or both exceed the system-defined maximum length. For example, on
- Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260
- characters.
-
-
- The specified path is invalid, (for example, it is on an unmapped drive).
-
-
- specified a directory.-or- The caller does not have the required permission.
-
-
- The file specified in was not found.
-
- is in an invalid format.
- An I/O error occurred while opening the file.
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Connecting to a group channel is not supported.
-
-
-
- Represents a private REST-based group channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the permission overwrite for a specific user.
-
- The user to get the overwrite from.
-
- An overwrite object for the targeted user; if none is set.
-
-
-
-
- Gets the permission overwrite for a specific role.
-
- The role to get the overwrite from.
-
- An overwrite object for the targeted role; if none is set.
-
-
-
-
- Adds or updates the permission overwrite for the given user.
-
- The user to add the overwrite to.
- The overwrite to add to the user.
- The options to be used when sending the request.
-
- A task representing the asynchronous permission operation for adding the specified permissions to the channel.
-
-
-
-
- Adds or updates the permission overwrite for the given role.
-
- The role to add the overwrite to.
- The overwrite to add to the role.
- The options to be used when sending the request.
-
- A task representing the asynchronous permission operation for adding the specified permissions to the channel.
-
-
-
-
- Removes the permission overwrite for the given user, if one exists.
-
- The user to remove the overwrite from.
- The options to be used when sending the request.
-
- A task representing the asynchronous operation for removing the specified permissions from the channel.
-
-
-
-
- Removes the permission overwrite for the given role, if one exists.
-
- The role to remove the overwrite from.
- The options to be used when sending the request.
-
- A task representing the asynchronous operation for removing the specified permissions from the channel.
-
-
-
-
- Gets the name of this channel.
-
-
- A string that is the name of this channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based news channel in a guild that has the same properties as a .
-
-
-
-
-
-
-
- Represents a REST-based stage channel in a guild.
-
-
-
-
-
- This field is always true for stage channels.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based channel in a guild that can send and receive messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a user in this channel.
-
- The snowflake identifier of the user.
- The options to be used when sending the request.
-
- Resolving permissions requires the parent guild to be downloaded.
-
-
- A task representing the asynchronous get operation. The task result contains a guild user object that
- represents the user; if none is found.
-
-
-
-
- Gets a collection of users that are able to view the channel.
-
- The options to be used when sending the request.
-
- Resolving permissions requires the parent guild to be downloaded.
-
-
- A paged collection containing a collection of guild users that can access this channel. Flattening the
- paginated response into a collection of users with
- is required if you wish to access the users.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
-
- is a zero-length string, contains only white space, or contains one or more
- invalid characters as defined by .
-
-
- is .
-
-
- The specified path, file name, or both exceed the system-defined maximum length. For example, on
- Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260
- characters.
-
-
- The specified path is invalid, (for example, it is on an unmapped drive).
-
-
- specified a directory.-or- The caller does not have the required permission.
-
-
- The file specified in was not found.
-
- is in an invalid format.
- An I/O error occurred while opening the file.
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates a webhook in this text channel.
-
- The name of the webhook.
- The avatar of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- webhook.
-
-
-
-
- Gets a webhook available in this text channel.
-
- The identifier of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a webhook associated
- with the identifier; if the webhook is not found.
-
-
-
-
- Gets the webhooks available in this text channel.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of webhooks that is available in this channel.
-
-
-
-
- Creates a thread within this .
-
-
- When is the thread type will be based off of the
- channel its created in. When called on a , it creates a .
- When called on a , it creates a . The id of the created
- thread will be the same as the id of the message, and as such a message can only have a
- single thread created from it.
-
- The name of the thread.
-
- The type of the thread.
-
- Note: This parameter is not used if the parameter is not specified.
-
-
-
- The duration on which this thread archives after.
-
- The message which to start the thread from.
- The options to be used when sending the request.
-
- A task that represents the asynchronous create operation. The task result contains a
-
-
-
-
- Gets the parent (category) channel of this channel.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the category channel
- representing the parent of this channel; if none is set.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a thread channel received over REST.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the parent text channel id.
-
-
-
-
- Gets a user within this thread.
-
- The id of the user to fetch.
- The options to be used when sending the request.
-
- A task representing the asynchronous get operation. The task returns a
- if found, otherwise .
-
-
-
-
- Gets a collection of users within this thread.
-
- Sets the limit of the user count for each request. 100 by default.
-
- A task that represents the asynchronous get operation. The task result contains a collection of thread
- users found within this thread channel.
-
-
-
-
- Gets a collection of users within this thread.
-
- The options to be used when sending the request.
-
- A task representing the asynchronous get operation. The task returns a
- of 's.
-
-
-
-
-
-
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This method is not supported in threads.
-
-
-
- Represents a REST-based voice channel in a guild.
-
-
-
-
- Gets whether or not the guild has Text-In-Voice enabled and the voice channel is a TiV channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cannot create a thread within a voice channel.
-
-
- Threads are not supported in voice channels
-
-
-
- Connecting to a REST-based channel is not supported.
-
-
-
-
-
-
-
-
-
-
-
- is .
-
-
- is .
-
-
- is .
-
-
- is .
-
-
- is .
-
-
- is .
-
-
- is .
-
-
- is .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based ban object.
-
-
-
-
- Gets the banned user.
-
-
- A generic object that was banned.
-
-
-
-
-
-
-
- Gets the name of the banned user.
-
-
- A string containing the name of the user that was banned.
-
-
-
-
-
-
-
- Represents a REST-based guild/server.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the built-in role containing all users in this guild.
-
-
-
-
- Gets a collection of all roles in this guild.
-
-
-
-
-
-
-
-
-
-
- Updates this object's properties with its current state.
-
-
- If true, and
- will be updated as well.
-
- The options to be used when sending the request.
-
- If is true, and
- will be updated as well.
-
-
-
-
-
-
-
- is .
-
-
-
- is .
-
-
-
- is .
-
-
-
-
-
-
-
-
-
- Deletes all slash commands in the current guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous delete operation.
-
-
-
-
- Gets a collection of slash commands created by the current user in this guild.
-
- Whether to include full localization dictionaries in the returned objects, instead of the name localized and description localized fields.
- The target locale of the localized name and description fields. Sets X-Discord-Locale header, which takes precedence over Accept-Language.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- slash commands created by the current user.
-
-
-
-
- Gets a slash command in the current guild.
-
- The unique identifier of the slash command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a
- slash command created by the current user.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a ban object for a banned user.
-
- The banned user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a ban object, which
- contains the user information and the reason for the ban; if the ban entry cannot be found.
-
-
-
-
- Gets a ban object for a banned user.
-
- The snowflake identifier for the banned user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a ban object, which
- contains the user information and the reason for the ban; if the ban entry cannot be found.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of all channels in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- generic channels found within this guild.
-
-
-
-
- Gets a channel in this guild.
-
- The snowflake identifier for the channel.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the generic channel
- associated with the specified ; if none is found.
-
-
-
-
- Gets a text channel in this guild.
-
- The snowflake identifier for the text channel.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel
- associated with the specified ; if none is found.
-
-
-
-
- Gets a collection of all text channels in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- message channels found within this guild.
-
-
-
-
- Gets a thread channel in this guild.
-
- The snowflake identifier for the thread channel.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the thread channel associated
- with the specified ; if none is found.
-
-
-
-
- Gets a collection of all thread in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- threads found within this guild.
-
-
-
-
- Gets a voice channel in this guild.
-
- The snowflake identifier for the voice channel.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the voice channel associated
- with the specified ; if none is found.
-
-
-
-
- Gets a collection of all voice channels in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- voice channels found within this guild.
-
-
-
-
- Gets a stage channel in this guild
-
- The snowflake identifier for the stage channel.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the stage channel associated
- with the specified ; if none is found.
-
-
-
-
- Gets a collection of all stage channels in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- stage channels found within this guild.
-
-
-
-
- Gets a collection of all category channels in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- category channels found within this guild.
-
-
-
-
- Gets the AFK voice channel in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the voice channel that the
- AFK users will be moved to after they have idled for too long; if none is set.
-
-
-
-
- Gets the first viewable text channel in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the first viewable text
- channel in this guild; if none is found.
-
-
-
-
- Gets the widget channel (i.e. the channel set in the guild's widget settings) in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the widget channel set
- within the server's widget settings; if none is set.
-
-
-
-
- Gets the text channel where guild notices such as welcome messages and boost events are posted.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel
- where guild notices such as welcome messages and boost events are post; if none is found.
-
-
-
-
- Gets the text channel where Community guilds can display rules and/or guidelines.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel
- where Community guilds can display rules and/or guidelines; if none is set.
-
-
-
-
- Gets the text channel where admins and moderators of Community guilds receive notices from Discord.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the text channel where
- admins and moderators of Community guilds receive notices from Discord; if none is set.
-
-
-
-
- Creates a new text channel in this guild.
-
-
- The following example creates a new text channel under an existing category named Wumpus with a set topic.
-
- var categories = await guild.GetCategoriesAsync();
- var targetCategory = categories.FirstOrDefault(x => x.Name == "wumpus");
- if (targetCategory == null) return;
- await Context.Guild.CreateTextChannelAsync(name, x =>
- {
- x.CategoryId = targetCategory.Id;
- x.Topic = $"This channel was created at {DateTimeOffset.UtcNow} by {user}.";
- });
-
-
- The new name for the text channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- text channel.
-
-
-
-
- Creates a voice channel with the provided name.
-
- The name of the new channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
- is .
-
- The created voice channel.
-
-
-
-
- Creates a new stage channel in this guild.
-
- The new name for the stage channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- stage channel.
-
-
-
-
- Creates a category channel with the provided name.
-
- The name of the new channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
- is .
-
- The created category channel.
-
-
-
-
- Creates a category channel with the provided name.
-
- The name of the new channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
- is .
-
- The created category channel.
-
-
-
-
- Gets a collection of all the voice regions this guild can access.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- voice regions the guild can access.
-
-
-
-
- Gets a collection of all invites in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- invite metadata, each representing information for an invite found within this guild.
-
-
-
-
- Gets the vanity invite URL of this guild.
-
- The options to be used when sending the request.
-
- A partial metadata of the vanity invite found within this guild.
-
-
-
-
- Gets a role in this guild.
-
- The snowflake identifier for the role.
-
- A role that is associated with the specified ; if none is found.
-
-
-
-
- Creates a new role with the provided name.
-
- The new name for the role.
- The guild permission that the role should possess.
- The color of the role.
- Whether the role is separated from others on the sidebar.
- The options to be used when sending the request.
- Whether the role can be mentioned.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- role.
-
-
-
-
- Gets a collection of all users in this guild.
-
-
- This method retrieves all users found within this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a collection of guild
- users found within this guild.
-
-
-
-
-
-
-
- Gets a user from this guild.
-
-
- This method retrieves a user found within this guild.
-
- The snowflake identifier of the user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the guild user
- associated with the specified ; if none is found.
-
-
-
-
- Gets the current user for this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the currently logged-in
- user within this guild.
-
-
-
-
- Gets the owner of this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the owner of this guild.
-
-
-
-
-
- Prunes inactive users.
-
-
-
- This method removes all users that have not logged on in the provided number of .
-
-
- If is , this method will only return the number of users that
- would be removed without kicking the users.
-
-
- The number of days required for the users to be kicked.
- Whether this prune action is a simulation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous prune operation. The task result contains the number of users to
- be or has been removed from this guild.
-
-
-
-
- Gets a collection of users in this guild that the name or nickname starts with the
- provided at .
-
-
- The can not be higher than .
-
- The partial name or nickname to search.
- The maximum number of users to be gotten.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a collection of guild
- users that the name or nickname starts with the provided at .
-
-
-
-
- Gets the specified number of audit log entries for this guild.
-
- The number of audit log entries to fetch.
- The options to be used when sending the request.
- The audit log entry ID to get entries before.
- The type of actions to filter.
- The user ID to filter entries for.
- The audit log entry ID to get entries after.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of the requested audit log entries.
-
-
-
-
- Gets a webhook found within this guild.
-
- The identifier for the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the webhook with the
- specified ; if none is found.
-
-
-
-
- Gets a collection of all webhook from this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of webhooks found within the guild.
-
-
-
-
- Gets this guilds slash commands
-
- Whether to include full localization dictionaries in the returned objects, instead of the name localized and description localized fields.
- The target locale of the localized name and description fields. Sets X-Discord-Locale header, which takes precedence over Accept-Language.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of application commands found within the guild.
-
-
-
-
- Gets an application command within this guild with the specified id.
-
- The id of the application command to get.
- The options to be used when sending the request.
-
- A ValueTask that represents the asynchronous get operation. The task result contains a
- if found, otherwise .
-
-
-
-
- Creates an application command within this guild.
-
- The properties to use when creating the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the command that was created.
-
-
-
-
- Overwrites the application commands within this guild.
-
- A collection of properties to use when creating the commands.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains a collection of commands that was created.
-
-
-
-
- Returns the name of the guild.
-
-
- The name of the guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
- is .
-
-
-
- Moves the user to the voice channel.
-
- The user to move.
- the channel where the user gets moved to.
- A task that represents the asynchronous operation for moving a user.
-
-
-
-
-
-
- Creates a new sticker in this guild.
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The image of the new emote.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Creates a new sticker in this guild
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The path of the file to upload.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Creates a new sticker in this guild
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The stream containing the file data.
- The name of the file with the extension, ex: image.png.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Gets a specific sticker within this guild.
-
- The id of the sticker to get.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the sticker found with the
- specified ; if none is found.
-
-
-
-
- Gets a collection of all stickers within this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of stickers found within the guild.
-
-
-
-
- Deletes a sticker within this guild.
-
- The sticker to delete.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Gets an event within this guild.
-
- The snowflake identifier for the event.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation.
-
-
-
-
- Gets all active events within this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation.
-
-
-
-
- Creates an event within this guild.
-
- The name of the event.
- The privacy level of the event.
- The start time of the event.
- The type of the event.
- The description of the event.
- The end time of the event.
-
- The channel id of the event.
-
- The event must have a type of or
- in order to use this property.
-
-
- The location of the event; links are supported
- The optional banner image for the event.
- The options to be used when sending the request.
-
- A task that represents the asynchronous create operation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Disconnects the user from its current voice channel
-
- The user to disconnect.
- A task that represents the asynchronous operation for disconnecting a user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Downloading users is not supported for a REST-based guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of N users interested in the event.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
- This method will attempt to fetch all users that are interested in the event.
- The library will attempt to split up the requests according to and .
- In other words, if there are 300 users, and the constant
- is 100, the request will be split into 3 individual requests; thus returning 3 individual asynchronous
- responses, hence the need of flattening.
-
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Gets a collection of N users interested in the event.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual users as a
- collection.
-
-
- Do not fetch too many users at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of users specified under around
- the user depending on the . The library will
- attempt to split up the requests according to your and
- . In other words, should the user request 500 users,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
- The ID of the starting user to get the users from.
- The direction of the users to be gotten from.
- The numbers of users to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based voice region.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Rest-based implementation of .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Rest-based implementation of .
-
-
-
-
- Represents a Rest-based implementation of .
-
-
-
-
- Represents a REST-based base command interaction.
-
-
-
-
- Gets the name of the invoked command.
-
-
-
-
- Gets the id of the invoked command.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
- Responds to an Interaction with type .
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- Message content is too long, length must be less or equal to .
- The parameters provided were invalid or the token was invalid.
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Acknowledges this interaction with the .
-
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
- Responds to the interaction with a modal.
-
- The modal to respond with.
- The request options for this request.
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
- Represents the base data tied with the interaction.
-
-
-
-
-
-
-
- Gets a collection of received with this interaction.
-
-
-
-
- Represents the base data tied with the interaction.
-
-
-
-
- Represents a REST-based message command interaction.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
- Represents the data for a .
-
-
-
-
- Gets the message associated with this message command.
-
-
-
-
-
- Note Not implemented for
-
-
-
-
-
-
-
- Represents a REST-based user command.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
- Represents the data for a .
-
-
-
-
- Gets the user who this command targets.
-
-
-
-
-
- Note Not implemented for
-
-
-
-
-
-
-
- Represents a class that contains data present in all interactions to evaluate against at rest-interaction creation.
-
-
-
-
- The type of this interaction.
-
-
-
-
- Gets the type of application command this interaction represents.
-
-
- This will be if the is not .
-
-
-
-
- Gets the name of the interaction.
-
-
- This will be if the is not .
-
-
-
-
- Gets the custom ID of the interaction.
-
-
- This will be if the is not or .
-
-
-
-
- Gets the guild ID of the interaction.
-
-
- This will be if this interaction was not executed in a guild.
-
-
-
-
- Gets the channel ID of the interaction.
-
-
- This will be if this interaction is .
-
-
-
-
- Represents a REST-based message component.
-
-
-
-
- Gets the data received with this interaction, contains the button that was clicked.
-
-
-
-
-
-
-
- Responds to an Interaction with type .
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
- Updates the message which this component resides in with the type
-
- A delegate containing the properties to modify the message with.
- The request options for this request.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Defers an interaction and responds with type 5 ()
-
- to send this message ephemerally, otherwise .
- The request options for this request.
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
-
-
-
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
-
- Responds to the interaction with a modal.
-
- The modal to respond with.
- The request options for this request.
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents data for a .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a user submitted .
-
-
-
-
- Acknowledges this interaction with the if the modal was created
- in a response to a message component interaction, otherwise.
-
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
- Defers an interaction and responds with type 5 ()
-
- to send this message ephemerally, otherwise .
- The request options for this request.
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- The sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- The file to upload.
- The file name of the attachment.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- The sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- The file to upload.
- The file name of the attachment.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- The sent message.
-
-
-
-
- Responds to an Interaction with type .
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- Message content is too long, length must be less or equal to .
- The parameters provided were invalid or the token was invalid.
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents data sent from a Interaction.
-
-
-
-
-
-
-
- Represents the s components submitted by the user.
-
-
-
-
- Represents a Rest-based implementation of the .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of options for this command.
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets the localization dictionary for the description field of this command.
-
-
-
-
- Gets the localized name of this command.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Gets the localized description of this command.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Rest-based implementation of .
-
-
-
-
-
-
-
-
-
-
- Gets the localization dictionary for the name field of this command option choice.
-
-
-
-
- Gets the localized name of this command option choice.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Represents a Rest-based implementation of .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of s for this command.
-
-
-
-
- Gets a collection of s for this command.
-
-
-
-
-
-
-
- Gets the localization dictionary for the name field of this command option.
-
-
-
-
- Gets the localization dictionary for the description field of this command option.
-
-
-
-
- Gets the localized name of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Gets the localized description of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Represents a Rest-based global application command.
-
-
-
-
-
-
-
- Modifies this .
-
- The delegate containing the properties to modify the command with.
- The options to be used when sending the request.
-
- The modified command.
-
-
-
-
- Represents a Rest-based guild application command.
-
-
-
-
- Gets the guild Id where this command originates.
-
-
-
-
-
-
-
- Modifies this .
-
- The delegate containing the properties to modify the command with.
- The options to be used when sending the request.
-
- The modified command
-
-
-
-
- Gets this commands permissions inside of the current guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a
- object defining the permissions of the current slash command.
-
-
-
-
- Modifies the current command permissions for this guild command.
-
- The permissions to overwrite.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation. The task result contains a
- object containing the modified permissions.
-
-
-
-
- Gets the guild that this slash command resides in.
-
- if you want the approximate member and presence counts for the guild, otherwise .
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a
- .
-
-
-
-
- Represents a REST-based interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the user who invoked the interaction.
-
-
- If this user is an and is set to false,
- will return
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets whether or not the token used to respond to this interaction is valid.
-
-
-
-
- Gets the channel that this interaction was executed in.
-
-
- This property will be if is set to false.
- Call to set this property and get the interaction channel.
-
-
-
-
-
-
-
- Gets the guild this interaction was executed in if applicable.
-
-
- This property will be if is set to false
- or if the interaction was not executed in a guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the channel this interaction was executed in. Will be a DM channel if the interaction was executed in DM.
-
-
- Calling this method successfully will populate the property.
- After this, further calls to this method will no longer call the API, and depend on the value set in .
-
- The request options for this request.
- A Rest channel to send messages to.
- Thrown if no channel can be received.
-
-
-
- Gets the guild this interaction was executed in if applicable.
-
-
- Calling this method successfully will populate the property.
- After this, further calls to this method will no longer call the API, and depend on the value set in .
-
- The request options for this request.
- The guild this interaction was executed in. if the interaction was executed inside DM.
-
-
-
-
-
-
- Gets the original response for this interaction.
-
- The request options for this request.
- A that represents the initial response.
-
-
-
- Edits original response for this interaction.
-
- A delegate containing the properties to modify the message with.
- The request options for this request.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
-
-
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- The file to upload.
- The file name of the attachment.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- The file to upload.
- The file name of the attachment.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The attachment containing the file and description.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- A collection of attachments to upload.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based ping interaction.
-
-
-
-
- Represents a REST-based autocomplete interaction.
-
-
-
-
- Gets the autocomplete data of this interaction.
-
-
-
-
- Responds to this interaction with a set of choices.
-
-
- The set of choices for the user to pick from.
-
- A max of 25 choices are allowed. Passing for this argument will show the executing user that
- there is no choices for their autocompleted input.
-
-
- The request options for this response.
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
- Responds to this interaction with a set of choices.
-
- The request options for this response.
-
- The set of choices for the user to pick from.
-
- A max of 25 choices are allowed. Passing for this argument will show the executing user that
- there is no choices for their autocompleted input.
-
-
-
- A string that contains json to write back to the incoming http request.
-
-
-
-
-
-
-
- Represents the data for a .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based slash command.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based option for a slash command.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of sub command options received for this sub command group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the guild this invite is linked to.
-
-
- A partial guild object representing the guild that the invite points to.
-
-
-
-
-
-
-
-
-
-
- Gets guild scheduled event data. if event id was invalid.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the URL of the invite.
-
-
- A string that resolves to the Url of the invite.
-
-
-
-
-
-
-
-
-
-
-
-
- Represents additional information regarding the REST-based invite object.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Rest-based custom sticker within a guild.
-
-
-
-
- Gets the users id who uploaded the sticker.
-
-
- In order to get the author id, the bot needs the MANAGE_EMOJIS_AND_STICKERS permission.
-
-
-
-
- Gets the guild that this custom sticker is in.
-
-
- Note: This property can be if the sticker wasn't fetched from a guild.
-
-
-
-
-
-
-
-
-
-
- Regex used to check if some text is formatted as inline code.
-
-
-
-
- Regex used to check if some text is formatted as a code block.
-
-
-
- Only the author of a message may modify the message.
- Message content is too long, length must be less or equal to .
-
-
-
- Represents a REST-based follow up message sent by a bot responding to an interaction.
-
-
-
-
- Deletes this object and all of it's children.
-
- A task that represents the asynchronous delete operation.
-
-
-
- Modifies this interaction followup message.
-
-
- This method modifies this message with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
-
- The following example replaces the content of the message with Hello World!.
-
- await msg.ModifyAsync(x => x.Content = "Hello World!");
-
-
- A delegate containing the properties to modify the message with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
- The token used to modify/delete this message expired.
- /// Something went wrong during the request.
-
-
-
- Represents the initial REST-based response to an interaction.
-
-
-
-
- Deletes this object and all of its children.
-
- A task that represents the asynchronous delete operation.
-
-
-
- Modifies this interaction response
-
-
- This method modifies this message with the specified properties. To see an example of this
- method and what properties are available, please refer to .
-
-
- The following example replaces the content of the message with Hello World!.
-
- await msg.ModifyAsync(x => x.Content = "Hello World!");
-
-
- A delegate containing the properties to modify the message with.
- The options to be used when sending the request.
-
- A task that represents the asynchronous modification operation.
-
- The token used to modify/delete this message expired.
- /// Something went wrong during the request.
-
-
-
- Represents a REST-based message.
-
-
-
-
-
-
-
- Gets the Author of the message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of the 's on the message.
-
-
-
-
- Gets a collection of the 's on the message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the interaction this message is a response to.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of the mentioned users in the message.
-
-
-
-
-
-
-
-
-
-
- Gets the of the message.
-
-
- A string that is the of the message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST reaction object.
-
-
-
-
-
-
-
- Gets the number of reactions added.
-
-
-
-
- Gets whether the reactions is added by the user.
-
-
-
-
- Represents a REST-based system message.
-
-
-
-
- Represents a REST-based message sent by a user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This operation may only be called on a channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a partial sticker received in a message.
-
-
-
-
-
-
-
-
-
-
- Resolves this sticker item by fetching the from the API.
-
-
- A task representing the download operation, the result of the task is a sticker object.
-
-
-
-
- Represents a REST-based entity that contains information about a Discord application created via the developer portal.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Unable to update this object from a different application token.
-
-
-
- Gets the name of the application.
-
-
- Name of the application.
-
-
-
-
- Represents a REST-based role.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets if this role is the @everyone role of the guild or not.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the name of the role.
-
-
- A string that is the name of the role.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the name of the connection.
-
-
- Name of the connection.
-
-
-
-
- Represents a REST-based group user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a REST-based guild user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Resolving permissions requires the parent guild to be downloaded.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Resolving permissions requires the parent guild to be downloaded.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the logged-in REST-based user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Unable to update this object using a different token.
-
-
-
- Unable to modify this object using a different token.
-
-
-
- Represents a thread user received over the REST api.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the guild user for this thread user.
-
-
- A task representing the asynchronous get operation. The task returns a
- that represents the current thread user.
-
-
-
-
- Represents a REST-based user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates a direct message channel to this user.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a rest DM channel where the user is the recipient.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the Username#Discriminator of the user.
-
-
- A string that resolves to Username#Discriminator of the user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the partial guild of the followed channel. if is not .
-
-
-
-
- Gets the id of the followed channel. if is not .
-
-
-
-
- Gets the name of the followed channel. if is not .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Adds a user to the specified guild.
-
-
- This method requires you have an OAuth2 access token for the user, requested with the guilds.join scope, and that the bot have the MANAGE_INVITES permission in the guild.
-
- The Discord client object.
- The snowflake identifier of the guild.
- The snowflake identifier of the user.
- The OAuth2 access token for the user, requested with the guilds.join scope.
- The delegate containing the properties to be applied to the user upon being added to the guild.
- The options to be used when sending the request.
-
-
-
- Responsible for formatting certain entities as Json , to reuse later on.
-
-
-
-
- Gets a Json formatted from an .
-
-
- See to parse Json back into embed.
-
- The builder to format as Json .
- The formatting in which the Json will be returned.
- A Json containing the data from the .
-
-
-
- Gets a Json formatted from an .
-
-
- See to parse Json back into embed.
-
- The embed to format as Json .
- The formatting in which the Json will be returned.
- A Json containing the data from the .
-
-
-
- Represents a Rest based context of an .
-
-
-
-
- Gets the that the command will be executed with.
-
-
-
-
- Gets the the command originated from.
-
-
- Will be null if the command is from a DM Channel.
-
-
-
-
- Gets the the command originated from.
-
-
-
-
- Gets the who executed the command.
-
-
-
-
- Gets the the command was received with.
-
-
-
-
- Gets or sets the callback to use when the service has outgoing json for the rest webhook.
-
-
- If this property is the default callback will be used.
-
-
-
-
-
-
-
- Initializes a new .
-
- The underlying client.
- The underlying interaction.
-
-
-
- Initializes a new .
-
- The underlying client.
- The underlying interaction.
- The callback for outgoing json.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Rest based context of an .
-
-
-
-
- Initializes a new .
-
- The underlying client.
- The underlying interaction.
-
-
-
- Initializes a new .
-
- The underlying client.
- The underlying interaction.
- The callback for outgoing json.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns the filename of this attachment.
-
-
- A string containing the filename of this attachment.
-
-
-
-
diff --git a/tempdnet/Discord.Net.WebSocket.dll b/tempdnet/Discord.Net.WebSocket.dll
deleted file mode 100644
index 2f4cc17..0000000
Binary files a/tempdnet/Discord.Net.WebSocket.dll and /dev/null differ
diff --git a/tempdnet/Discord.Net.WebSocket.xml b/tempdnet/Discord.Net.WebSocket.xml
deleted file mode 100644
index aab186e..0000000
--- a/tempdnet/Discord.Net.WebSocket.xml
+++ /dev/null
@@ -1,9929 +0,0 @@
-
-
-
- Discord.Net.WebSocket
-
-
-
- C←S - Used to send most events.
-
-
- C↔S - Used to keep the connection alive and measure latency.
-
-
- C→S - Used to associate a connection with a token and specify configuration.
-
-
- C→S - Used to update client's status and current game id.
-
-
- C→S - Used to join a particular voice channel.
-
-
- C→S - Used to ensure the guild's voice server is alive.
-
-
- C→S - Used to resume a connection after a redirect occurs.
-
-
- C←S - Used to notify a client that they must reconnect to another gateway.
-
-
- C→S - Used to request members that were withheld by large_threshold
-
-
- C←S - Used to notify the client that their session has expired and cannot be resumed.
-
-
- C←S - Used to provide information to the client immediately on connection.
-
-
- C←S - Used to reply to a client's heartbeat.
-
-
- C→S - Used to request presence updates from particular guilds.
-
-
- C→S - Used to associate a connection with a token.
-
-
- C→S - Used to specify configuration.
-
-
- C←S - Used to notify that the voice connection was successful and informs the client of available protocols.
-
-
- C→S - Used to keep the connection alive and measure latency.
-
-
- C←S - Used to provide an encryption key to the client.
-
-
- C↔S - Used to inform that a certain user is speaking.
-
-
- C←S - Used to reply to a client's heartbeat.
-
-
- C→S - Used to resume a connection.
-
-
- C←S - Used to inform the client the heartbeat interval.
-
-
- C←S - Used to acknowledge a resumed connection.
-
-
- C←S - Used to notify that a client has disconnected.
-
-
-
- Sets the gateway URL used for identifies.
-
-
- If a custom URL is set, setting this property does nothing.
-
-
-
-
- Sets the gateway URL used for resumes.
-
-
-
-
- Appends necessary query parameters to the specified gateway URL.
-
-
-
- The client must be logged in before connecting.
- This client is not configured with WebSocket support.
-
-
- This client is not configured with WebSocket support.
-
-
-
- Represents generic op codes for voice disconnect.
-
-
-
-
- You sent an invalid opcode.
-
-
-
-
- You sent an invalid payload in your identifying to the Gateway.
-
-
-
-
- You sent a payload before identifying with the Gateway.
-
-
-
-
- The token you sent in your identify payload is incorrect.
-
-
-
-
- You sent more than one identify payload. Stahp.
-
-
-
-
- Your session is no longer valid.
-
-
-
-
- Your session has timed out.
-
-
-
-
- We can't find the server you're trying to connect to.
-
-
-
-
- We didn't recognize the protocol you sent.
-
-
-
-
- Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect.
-
-
-
-
- The server crashed. Our bad! Try resuming.
-
-
-
-
- We didn't recognize your encryption.
-
-
-
-
- Represents the base of a WebSocket-based Discord client.
-
-
-
-
- Gets the estimated round-trip latency, in milliseconds, to the gateway server.
-
-
- An that represents the round-trip latency to the WebSocket server. Please
- note that this value does not represent a "true" latency for operations such as sending a message.
-
-
-
-
- Gets the status for the logged-in user.
-
-
- A status object that represents the user's online presence status.
-
-
-
-
- Gets the activity for the logged-in user.
-
-
- An activity object that represents the user's current activity.
-
-
-
-
- Provides access to a REST-only client with a shared state from this client.
-
-
-
-
- Gets a collection of default stickers.
-
-
-
-
- Gets the current logged-in user.
-
-
-
-
- Gets a collection of guilds that the user is currently in.
-
-
- A read-only collection of guilds that the current user is in.
-
-
-
-
- Gets a collection of private channels opened in this session.
-
-
- This method will retrieve all private channels (including direct-message, group channel and such) that
- are currently opened in this session.
-
- This method will not return previously opened private channels outside of the current session! If
- you have just started the client, this may return an empty collection.
-
-
-
- A read-only collection of private channels that the user currently partakes in.
-
-
-
-
- Gets a Discord application information for the logged-in user.
-
-
- This method reflects your application information you submitted when creating a Discord application via
- the Developer Portal.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the application
- information.
-
-
-
-
- Gets a generic user.
-
- The user snowflake ID.
-
- This method gets the user present in the WebSocket cache with the given condition.
-
- Sometimes a user may return due to Discord not sending offline users in large guilds
- (i.e. guild with 100+ members) actively. To download users on startup and to see more information
- about this subject, see .
-
-
- This method does not attempt to fetch users that the logged-in user does not have access to (i.e.
- users who don't share mutual guild(s) with the current user). If you wish to get a user that you do
- not have access to, consider using the REST implementation of
- .
-
-
-
- A generic WebSocket-based user; when the user cannot be found.
-
-
-
-
- Gets a user.
-
-
- This method gets the user present in the WebSocket cache with the given condition.
-
- Sometimes a user may return due to Discord not sending offline users in large guilds
- (i.e. guild with 100+ members) actively. To download users on startup and to see more information
- about this subject, see .
-
-
- This method does not attempt to fetch users that the logged-in user does not have access to (i.e.
- users who don't share mutual guild(s) with the current user). If you wish to get a user that you do
- not have access to, consider using the REST implementation of
- .
-
-
- The name of the user.
- The discriminator value of the user.
-
- A generic WebSocket-based user; when the user cannot be found.
-
-
-
-
- Gets a channel.
-
- The snowflake identifier of the channel (e.g. `381889909113225237`).
-
- A generic WebSocket-based channel object (voice, text, category, etc.) associated with the identifier;
- when the channel cannot be found.
-
-
-
-
- Gets a guild.
-
- The guild snowflake identifier.
-
- A WebSocket-based guild associated with the snowflake identifier; when the guild cannot be
- found.
-
-
-
-
- Gets all voice regions.
-
- The options to be used when sending the request.
-
- A task that contains a read-only collection of REST-based voice regions.
-
-
-
-
- Gets a voice region.
-
- The identifier of the voice region (e.g. eu-central ).
- The options to be used when sending the request.
-
- A task that contains a REST-based voice region associated with the identifier; if the
- voice region is not found.
-
-
-
-
-
-
-
-
-
-
- Sets the current status of the user (e.g. Online, Do not Disturb).
-
- The new status to be set.
-
- A task that represents the asynchronous set operation.
-
-
-
-
- Sets the game of the user.
-
- The name of the game.
- If streaming, the URL of the stream. Must be a valid Twitch URL.
- The type of the game.
-
-
- Bot accounts cannot set as their activity
- type and it will have no effect.
-
-
-
- A task that represents the asynchronous set operation.
-
-
-
-
- Sets the of the logged-in user.
-
-
- This method sets the of the user.
-
- Discord will only accept setting of name and the type of activity.
-
-
- Bot accounts cannot set as their activity
- type and it will have no effect.
-
-
- Rich Presence cannot be set via this method or client. Rich Presence is strictly limited to RPC
- clients only.
-
-
- The activity to be set.
-
- A task that represents the asynchronous set operation.
-
-
-
-
- Sets the custom status of the logged-in user.
-
- The string that will be displayed as status.
-
- A task that represents the asynchronous set operation.
-
-
-
-
- Attempts to download users into the user cache for the selected guilds.
-
- The guilds to download the members from.
-
- A task that represents the asynchronous download operation.
-
-
-
-
- Creates a guild for the logged-in user who is in less than 10 active guilds.
-
-
- This method creates a new guild on behalf of the logged-in user.
-
- Due to Discord's limitation, this method will only work for users that are in less than 10 guilds.
-
-
- The name of the new guild.
- The voice region to create the guild with.
- The icon of the guild.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created guild.
-
-
-
-
- Gets the connections that the user has set up.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of connections.
-
-
-
-
- Gets an invite.
-
- The invitation identifier.
- The options to be used when sending the request.
- The id of the guild scheduled event to include with the invite.
-
- A task that represents the asynchronous get operation. The task result contains the invite information.
-
-
-
-
- Gets a sticker.
-
- Whether or not to allow downloading from the api.
- The id of the sticker to get.
- The options to be used when sending the request.
-
- A if found, otherwise .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fired when a channel is created.
-
-
- This event is fired when a generic channel has been created. The event handler must return a
- and accept a as its parameter.
-
-
- The newly created channel is passed into the event handler parameter. The given channel type may
- include, but not limited to, Private Channels (DM, Group), Guild Channels (Text, Voice, Category);
- see the derived classes of for more details.
-
-
-
-
-
-
-
- Fired when a channel is destroyed.
-
-
- This event is fired when a generic channel has been destroyed. The event handler must return a
- and accept a as its parameter.
-
-
- The destroyed channel is passed into the event handler parameter. The given channel type may
- include, but not limited to, Private Channels (DM, Group), Guild Channels (Text, Voice, Category);
- see the derived classes of for more details.
-
-
-
-
-
-
-
- Fired when a channel is updated.
-
-
- This event is fired when a generic channel has been updated. The event handler must return a
- and accept 2 as its parameters.
-
-
- The original (prior to update) channel is passed into the first , while
- the updated channel is passed into the second. The given channel type may include, but not limited
- to, Private Channels (DM, Group), Guild Channels (Text, Voice, Category); see the derived classes of
- for more details.
-
-
-
-
-
-
-
- Fired when a message is received.
-
-
- This event is fired when a message is received. The event handler must return a
- and accept a as its parameter.
-
-
- The message that is sent to the client is passed into the event handler parameter as
- . This message may be a system message (i.e.
- ) or a user message (i.e. . See the
- derived classes of for more details.
-
-
-
- The example below checks if the newly received message contains the target user.
-
-
-
-
- Fired when a message is deleted.
-
-
- This event is fired when a message is deleted. The event handler must return a
- and accept a and
- as its parameters.
-
-
-
- It is not possible to retrieve the message via
- ; the message cannot be retrieved by Discord
- after the message has been deleted.
-
- If caching is enabled via , the
- entity will contain the deleted message; otherwise, in event
- that the message cannot be retrieved, the snowflake ID of the message is preserved in the
- .
-
-
- The source channel of the removed message will be passed into the
- parameter.
-
-
-
-
-
-
-
- Fired when multiple messages are bulk deleted.
-
-
- The event will not be fired for individual messages contained in this event.
-
-
- This event is fired when multiple messages are bulk deleted. The event handler must return a
- and accept an and
- as its parameters.
-
-
-
- It is not possible to retrieve the message via
- ; the message cannot be retrieved by Discord
- after the message has been deleted.
-
- If caching is enabled via , the
- entity will contain the deleted message; otherwise, in event
- that the message cannot be retrieved, the snowflake ID of the message is preserved in the
- .
-
-
- The source channel of the removed message will be passed into the
- parameter.
-
-
-
-
- Fired when a message is updated.
-
-
- This event is fired when a message is updated. The event handler must return a
- and accept a , ,
- and as its parameters.
-
-
- If caching is enabled via , the
- entity will contain the original message; otherwise, in event
- that the message cannot be retrieved, the snowflake ID of the message is preserved in the
- .
-
-
- The updated message will be passed into the parameter.
-
-
- The source channel of the updated message will be passed into the
- parameter.
-
-
-
-
- Fired when a reaction is added to a message.
-
-
- This event is fired when a reaction is added to a user message. The event handler must return a
- and accept a , an
- , and a as its parameter.
-
-
- If caching is enabled via , the
- entity will contain the original message; otherwise, in event
- that the message cannot be retrieved, the snowflake ID of the message is preserved in the
- .
-
-
- The source channel of the reaction addition will be passed into the
- parameter.
-
-
- The reaction that was added will be passed into the parameter.
-
-
- When fetching the reaction from this event, a user may not be provided under
- . Please see the documentation of the property for more
- information.
-
-
-
-
-
-
-
- Fired when a reaction is removed from a message.
-
-
- Fired when all reactions to a message are cleared.
-
-
-
- Fired when all reactions to a message with a specific emote are removed.
-
-
-
- This event is fired when all reactions to a message with a specific emote are removed.
- The event handler must return a and accept a and
- a as its parameters.
-
-
- The channel where this message was sent will be passed into the parameter.
-
-
- The emoji that all reactions had and were removed will be passed into the parameter.
-
-
-
-
- Fired when a role is created.
-
-
- Fired when a role is deleted.
-
-
- Fired when a role is updated.
-
-
- Fired when the connected account joins a guild.
-
-
- Fired when the connected account leaves a guild.
-
-
- Fired when a guild becomes available.
-
-
- Fired when a guild becomes unavailable.
-
-
- Fired when offline guild members are downloaded.
-
-
- Fired when a guild is updated.
-
-
- Fired when a user leaves without agreeing to the member screening
-
-
-
- Fired when a guild event is created.
-
-
-
-
- Fired when a guild event is updated.
-
-
-
-
- Fired when a guild event is cancelled.
-
-
-
-
- Fired when a guild event is completed.
-
-
-
-
- Fired when a guild event is started.
-
-
-
- Fired when an integration is created.
-
-
- Fired when an integration is updated.
-
-
- Fired when an integration is deleted.
-
-
- Fired when a user joins a guild.
-
-
- Fired when a user leaves a guild.
-
-
- Fired when a user is banned from a guild.
-
-
- Fired when a user is unbanned from a guild.
-
-
- Fired when a user is updated.
-
-
- Fired when a guild member is updated.
-
-
- Fired when a user joins, leaves, or moves voice channels.
-
-
- Fired when the bot connects to a Discord voice server.
-
-
- Fired when the connected account is updated.
-
-
- Fired when a user starts typing.
-
-
- Fired when a user joins a group channel.
-
-
- Fired when a user is removed from a group channel.
-
-
- Fired when a users presence is updated.
-
-
-
- Fired when an invite is created.
-
-
-
- This event is fired when an invite is created. The event handler must return a
- and accept a as its parameter.
-
-
- The invite created will be passed into the parameter.
-
-
-
-
-
- Fired when an invite is deleted.
-
-
-
- This event is fired when an invite is deleted. The event handler must return
- a and accept a and
- as its parameter.
-
-
- The channel where this invite was created will be passed into the parameter.
-
-
- The code of the deleted invite will be passed into the parameter.
-
-
-
-
-
- Fired when an Interaction is created. This event covers all types of interactions including but not limited to: buttons, select menus, slash commands, autocompletes.
-
-
-
- This event is fired when an interaction is created. The event handler must return a
- and accept a as its parameter.
-
-
- The interaction created will be passed into the parameter.
-
-
-
-
-
- Fired when a button is clicked and its interaction is received.
-
-
-
-
- Fired when a select menu is used and its interaction is received.
-
-
-
-
- Fired when a slash command is used and its interaction is received.
-
-
-
-
- Fired when a user command is used and its interaction is received.
-
-
-
-
- Fired when a message command is used and its interaction is received.
-
-
-
-
- Fired when an autocomplete is used and its interaction is received.
-
-
-
-
- Fired when a modal is submitted.
-
-
-
-
- Fired when a guild application command is created.
-
-
-
- This event is fired when an application command is created. The event handler must return a
- and accept a as its parameter.
-
-
- The command that was deleted will be passed into the parameter.
-
-
- This event is an undocumented discord event and may break at any time, its not recommended to rely on this event
-
-
-
-
-
- Fired when a guild application command is updated.
-
-
-
- This event is fired when an application command is updated. The event handler must return a
- and accept a as its parameter.
-
-
- The command that was deleted will be passed into the parameter.
-
-
- This event is an undocumented discord event and may break at any time, its not recommended to rely on this event
-
-
-
-
-
- Fired when a guild application command is deleted.
-
-
-
- This event is fired when an application command is deleted. The event handler must return a
- and accept a as its parameter.
-
-
- The command that was deleted will be passed into the parameter.
-
-
- This event is an undocumented discord event and may break at any time, its not recommended to rely on this event
-
-
-
-
-
- Fired when a thread is created within a guild, or when the current user is added to a thread.
-
-
-
-
- Fired when a thread is updated within a guild.
-
-
-
-
- Fired when a thread is deleted.
-
-
-
-
- Fired when a user joins a thread
-
-
-
-
- Fired when a user leaves a thread
-
-
-
-
- Fired when a stage is started.
-
-
-
-
- Fired when a stage ends.
-
-
-
-
- Fired when a stage is updated.
-
-
-
-
- Fired when a user requests to speak within a stage channel.
-
-
-
-
- Fired when a speaker is added in a stage channel.
-
-
-
-
- Fired when a speaker is removed from a stage channel.
-
-
-
-
- Fired when a sticker in a guild is created.
-
-
-
-
- Fired when a sticker in a guild is updated.
-
-
-
-
- Fired when a sticker in a guild is deleted.
-
-
-
-
- Fired when a webhook is modified, moved, or deleted. If the webhook was
- moved the channel represents the destination channel, not the source.
-
-
-
-
- Fired when a guild audit log entry is created.
-
-
-
-
- Fired when an auto moderation rule is created.
-
-
-
-
- Fired when an auto moderation rule is modified.
-
-
-
-
- Fired when an auto moderation rule is deleted.
-
-
-
-
- Fired when an auto moderation rule is triggered by a user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Provides access to a REST-only client with a shared state from this client.
-
-
-
- Creates a new REST/WebSocket Discord client.
-
-
- Creates a new REST/WebSocket Discord client.
-
-
- Creates a new REST/WebSocket Discord client.
-
-
- Creates a new REST/WebSocket Discord client.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- is
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fired when a shard is connected to the Discord gateway.
-
-
- Fired when a shard is disconnected from the Discord gateway.
-
-
- Fired when a guild data for a shard has finished downloading.
-
-
- Fired when a shard receives a heartbeat from the Discord gateway.
-
-
-
- Represents a WebSocket-based Discord client.
-
-
-
-
- Provides access to a REST-only client with a shared state from this client.
-
-
-
- Gets the shard of this client.
-
-
- Gets the current connection state of this client.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of direct message channels opened in this session.
-
-
- This method returns a collection of currently opened direct message channels.
-
- This method will not return previously opened DM channels outside of the current session! If you
- have just started the client, this may return an empty collection.
-
-
-
- A collection of DM channels that have been opened in this session.
-
-
-
-
- Gets a collection of group channels opened in this session.
-
-
- This method returns a collection of currently opened group channels.
-
- This method will not return previously opened group channels outside of the current session! If you
- have just started the client, this may return an empty collection.
-
-
-
- A collection of group channels that have been opened in this session.
-
-
-
-
- Initializes a new REST/WebSocket-based Discord client.
-
-
-
-
- Initializes a new REST/WebSocket-based Discord client with the provided configuration.
-
- The configuration to be used with the client.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a generic channel from the cache or does a rest request if unavailable.
-
-
-
- var channel = await _client.GetChannelAsync(381889909113225237);
- if (channel != null && channel is IMessageChannel msgChannel)
- {
- await msgChannel.SendMessageAsync($"{msgChannel} is created at {msgChannel.CreatedAt}");
- }
-
-
- The snowflake identifier of the channel (e.g. `381889909113225237`).
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the channel associated
- with the snowflake identifier; when the channel cannot be found.
-
-
-
-
- Gets a user from the cache or does a rest request if unavailable.
-
-
-
- var user = await _client.GetUserAsync(168693960628371456);
- if (user != null)
- Console.WriteLine($"{user} is created at {user.CreatedAt}.";
-
-
- The snowflake identifier of the user (e.g. `168693960628371456`).
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the user associated with
- the snowflake identifier; if the user is not found.
-
-
-
-
- Clears all cached channels from the client.
-
-
-
-
- Clears cached DM channels from the client.
-
-
-
-
-
-
-
-
-
-
- Gets a global application command.
-
- The id of the command.
- The options to be used when sending the request.
-
- A ValueTask that represents the asynchronous get operation. The task result contains the application command if found, otherwise
- .
-
-
-
-
- Gets a collection of all global commands.
-
- Whether to include full localization dictionaries in the returned objects, instead of the name localized and description localized fields.
- The target locale of the localized name and description fields. Sets X-Discord-Locale header, which takes precedence over Accept-Language.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of global
- application commands.
-
-
-
-
- Clears cached users from the client.
-
-
-
-
-
-
-
- Gets a sticker.
-
- The unique identifier of the sticker.
- A sticker if found, otherwise .
-
-
-
-
-
-
-
-
-
-
-
-
-
- The following example sets the status of the current user to Do Not Disturb.
-
- await client.SetStatusAsync(UserStatus.DoNotDisturb);
-
-
-
-
-
-
-
- The following example sets the activity of the current user to the specified game name.
-
- await client.SetGameAsync("A Strange Game");
-
-
-
- The following example sets the activity of the current user to a streaming status.
-
- await client.SetGameAsync("Great Stream 10/10", "https://twitch.tv/MyAmazingStream1337", ActivityType.Streaming);
-
-
-
-
-
-
-
-
-
-
-
- Unexpected channel type is created.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fired when connected to the Discord gateway.
-
-
- Fired when disconnected to the Discord gateway.
-
-
-
- Fired when guild data has finished downloading.
-
-
- It is possible that some guilds might be unsynced if
- was not long enough to receive all GUILD_AVAILABLEs before READY.
-
-
-
- Fired when a heartbeat is received from the Discord gateway.
-
-
-
- Represents a configuration class for .
-
-
- This configuration, based on , helps determine several key configurations the
- socket client depend on. For instance, shards and connection timeout.
-
-
- The following config enables the message cache and configures the client to always download user upon guild
- availability.
-
- var config = new DiscordSocketConfig
- {
- AlwaysDownloadUsers = true,
- MessageCacheSize = 100
- };
- var client = new DiscordSocketClient(config);
-
-
-
-
-
- Returns the encoding gateway should use.
-
-
-
-
- Gets or sets the WebSocket host to connect to. If , the client will use the
- /gateway endpoint.
-
-
-
-
- Gets or sets the time, in milliseconds, to wait for a connection to complete before aborting.
-
-
-
-
- Gets or sets the ID for this shard. Must be less than .
-
-
-
-
- Gets or sets the total number of shards for this application.
-
-
- If this is left in a sharded client the bot will get the recommended shard
- count from discord and use that.
-
-
-
-
- Gets or sets whether or not the client should download the default stickers on startup.
-
-
- When this is set to default stickers aren't present and cannot be resolved by the client.
- This will make all default stickers have the type of .
-
-
-
-
- Gets or sets whether or not the client should automatically resolve the stickers sent on a message.
-
-
- Note if a sticker isn't cached the client will preform a rest request to resolve it. This
- may be very rest heavy depending on your bots size, it isn't recommended to use this with large scale bots as you
- can get ratelimited easily.
-
-
-
-
- Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero
- disables the message cache entirely.
-
-
-
-
- Gets or sets the number of audit logs per guild that should be kept in cache. Setting this to zero
- disables the audit log cache entirely.
-
-
-
-
- Gets or sets the max number of users a guild may have for offline users to be included in the READY
- packet. The maximum value allowed is 250.
-
-
-
-
- Gets or sets the provider used to generate new WebSocket connections.
-
-
-
-
- Gets or sets the provider used to generate new UDP sockets.
-
-
-
-
- Gets or sets whether or not all users should be downloaded as guilds come available.
-
-
-
- By default, the Discord gateway will only send offline members if a guild has less than a certain number
- of members (determined by in this library). This behavior is why
- sometimes a user may be missing from the WebSocket cache for collections such as
- .
-
-
- This property ensures that whenever a guild becomes available (determined by
- ), incomplete user chunks will be
- downloaded to the WebSocket cache.
-
-
- For more information, please see
- Request Guild Members
- on the official Discord API documentation.
-
-
- Please note that it can be difficult to fill the cache completely on large guilds depending on the
- traffic. If you are using the command system, the default user TypeReader may fail to find the user
- due to this issue. This may be resolved at v3 of the library. Until then, you may want to consider
- overriding the TypeReader and use
-
- or
- as a backup.
-
-
-
-
-
- Gets or sets the timeout for event handlers, in milliseconds, after which a warning will be logged.
- Setting this property to disables this check.
-
-
-
-
- Gets or sets the maximum identify concurrency.
-
-
- This information is provided by Discord.
- It is only used when using a and auto-sharding is disabled.
-
-
-
-
- Gets or sets the maximum wait time in milliseconds between GUILD_AVAILABLE events before firing READY.
- If zero, READY will fire as soon as it is received and all guilds will be unavailable.
-
-
- This property is measured in milliseconds; negative values will throw an exception.
- If a guild is not received before READY, it will be unavailable.
-
-
- A representing the maximum wait time in milliseconds between GUILD_AVAILABLE events
- before firing READY.
-
- Value must be at least 0.
-
-
-
- Gets or sets gateway intents to limit what events are sent from Discord.
- The default is .
-
-
- For more information, please see
- GatewayIntents
- on the official Discord API documentation.
-
-
-
-
- Gets or sets whether or not to log warnings related to guild intents and events.
-
-
-
-
- Gets or sets whether or not Unknown Dispatch event messages should be logged.
-
-
-
-
- Initializes a new instance of the class with the default configuration.
-
-
-
- is less than 0.
-
-
-
- Contains a piece of audit log data related to message getting blocked by automod.
-
-
-
-
- Gets the channel the message was sent in.
-
-
-
-
- Gets the name of the auto moderation rule that got triggered.
-
-
-
-
- Gets the trigger type of the auto moderation rule that got triggered.
-
-
-
-
- Contains a piece of audit log data related to message getting flagged by automod.
-
-
-
-
- Gets the channel the message was sent in.
-
-
-
-
- Gets the name of the auto moderation rule that got triggered.
-
-
-
-
- Gets the trigger type of the auto moderation rule that got triggered.
-
-
-
-
- Contains a piece of audit log data related to an auto moderation rule creation.
-
-
-
-
- Gets the auto moderation rule information after the changes.
-
-
-
-
- Contains a piece of audit log data related to an auto moderation rule removal.
-
-
-
-
- Gets the auto moderation rule information before the changes.
-
-
-
-
- Represents information for an auto moderation rule.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to an auto moderation rule update.
-
-
-
-
- Gets the auto moderation rule information before the changes.
-
-
-
-
- Gets the auto moderation rule information after the changes.
-
-
-
-
- Contains a piece of audit log data related to user getting in timeout by automod.
-
-
-
-
- Gets the channel the message was sent in.
-
-
-
-
- Gets the name of the auto moderation rule that got triggered.
-
-
-
-
- Gets the trigger type of the auto moderation rule that got triggered.
-
-
-
-
- Contains a piece of audit log data related to a ban.
-
-
-
-
- Gets the user that was banned.
-
-
- Download method may return if the user is a 'Deleted User#....'
- because Discord does send user data for deleted users.
-
-
- A cacheable user object representing the banned user.
-
-
-
-
- Contains a piece of audit log data related to a adding a bot to a guild.
-
-
-
-
- Gets the bot that was added.
-
-
- Will be if the bot is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A cacheable user object representing the bot.
-
-
-
-
- Contains a piece of audit log data related to a channel creation.
-
-
-
-
- Gets the snowflake ID of the created channel.
-
-
- A representing the snowflake identifier for the created channel.
-
-
-
-
- Gets the name of the created channel.
-
-
- A string containing the name of the created channel.
-
-
-
-
- Gets the type of the created channel.
-
-
- The type of channel that was created.
-
-
-
-
- Gets the current slow-mode delay of the created channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the value that indicates whether the created channel is NSFW.
-
-
- if the created channel has the NSFW flag enabled; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets the bit-rate that the clients in the created voice channel are requested to use.
-
-
- An representing the bit-rate (bps) that the created voice channel defines and requests the
- client(s) to use.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the thread archive duration that was set in the created channel.
-
-
-
-
- Gets the default thread archive duration that was set in the created channel.
-
-
-
-
- Gets the default slow mode interval that will be set in child threads in the channel.
-
-
-
-
- Gets the topic that was set in the created channel.
-
-
-
-
- Gets tags available in the created forum channel.
-
-
-
-
- Gets the default reaction added to posts in the created forum channel.
-
-
-
-
- Gets the user limit configured in the created voice channel.
-
-
-
-
- Gets the video quality mode configured in the created voice channel.
-
-
-
-
- Gets the region configured in the created voice channel.
-
-
-
-
- Gets channel flags configured for the created channel.
-
-
-
-
- Contains a piece of audit log data related to a channel deletion.
-
-
-
-
- Gets the snowflake ID of the deleted channel.
-
-
- A representing the snowflake identifier for the deleted channel.
-
-
-
-
- Gets the name of the deleted channel.
-
-
- A string containing the name of the deleted channel.
-
-
-
-
- Gets the type of the deleted channel.
-
-
- The type of channel that was deleted.
-
-
-
-
- Gets the slow-mode delay of the deleted channel.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the value that indicates whether the deleted channel was NSFW.
-
-
- if this channel had the NSFW flag enabled; otherwise .
- if this is not mentioned in this entry.
-
-
-
-
- Gets the bit-rate of this channel if applicable.
-
-
- An representing the bit-rate set of the voice channel.
- if this is not mentioned in this entry.
-
-
-
-
- Gets a collection of permission overwrites that was assigned to the deleted channel.
-
-
- A collection of permission .
-
-
-
-
- Gets the user limit configured in the created voice channel.
-
-
-
-
- Gets the video quality mode configured in the created voice channel.
-
-
-
-
- Gets the region configured in the created voice channel.
-
-
-
-
- Gets channel flags configured for the created channel.
-
-
-
-
- Gets the thread archive duration that was configured for the created channel.
-
-
-
-
- Gets the default slow mode interval that was configured for the channel.
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
-
- if the value was not specified in this entry..
-
-
-
-
- Represents information for a channel.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Gets the type of this channel.
-
-
- The channel type of this channel; if not applicable.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Contains a piece of audit log data related to a channel update.
-
-
-
-
- Gets the snowflake ID of the updated channel.
-
-
- A representing the snowflake identifier for the updated channel.
-
-
-
-
- Gets the channel information before the changes.
-
-
- An information object containing the original channel information before the changes were made.
-
-
-
-
- Gets the channel information after the changes.
-
-
- An information object containing the channel information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to an application command permission update.
-
-
-
-
- Gets the ID of the app whose permissions were targeted.
-
-
-
-
- Gets the id of the application command which permissions were updated.
-
-
-
-
- Gets values of the permissions before the change if available.
-
-
-
-
- Gets values of the permissions after the change if available.
-
-
-
-
- Contains a piece of audit log data related to an emoji creation.
-
-
-
-
- Gets the snowflake ID of the created emoji.
-
-
- A representing the snowflake identifier for the created emoji.
-
-
-
-
- Gets the name of the created emoji.
-
-
- A string containing the name of the created emoji.
-
-
-
-
- Contains a piece of audit log data related to an emoji deletion.
-
-
-
-
- Gets the snowflake ID of the deleted emoji.
-
-
- A representing the snowflake identifier for the deleted emoji.
-
-
-
-
- Gets the name of the deleted emoji.
-
-
- A string containing the name of the deleted emoji.
-
-
-
-
- Contains a piece of audit log data related to an emoji update.
-
-
-
-
- Gets the snowflake ID of the updated emoji.
-
-
- A representing the snowflake identifier of the updated emoji.
-
-
-
-
- Gets the new name of the updated emoji.
-
-
- A string containing the new name of the updated emoji.
-
-
-
-
- Gets the old name of the updated emoji.
-
-
- A string containing the old name of the updated emoji.
-
-
-
-
- Represents information for a guild.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Contains a piece of audit log data related to a guild update.
-
-
-
-
- Gets the guild information before the changes.
-
-
- An information object containing the original guild information before the changes were made.
-
-
-
-
- Gets the guild information after the changes.
-
-
- An information object containing the guild information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to an integration authorization.
-
-
-
-
- Gets the integration information after the changes.
-
-
-
-
- Contains a piece of audit log data related to an integration removal.
-
-
-
-
- Gets the integration information before the changes.
-
-
-
-
- Represents information for an integration.
-
-
-
-
- Gets the name of the integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the type of the integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets if the integration is enabled. if the property was not mentioned in this audit log.
-
-
-
-
- Gets if syncing is enabled for this integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the id of the role that this integration uses for subscribers. if the property was not mentioned in this audit log.
-
-
-
-
- Gets whether emoticons should be synced for this integration. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the behavior of expiring subscribers. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the grace period (in days) before expiring subscribers. if the property was not mentioned in this audit log.
-
-
-
-
- Gets the scopes the application has been authorized for. if the property was not mentioned in this audit log.
-
-
-
-
- Contains a piece of audit log data related to an integration update.
-
-
-
-
- Gets the integration information before the changes.
-
-
-
-
- Gets the integration information after the changes.
-
-
-
-
- Contains a piece of audit log data related to an invite creation.
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets a value that determines whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off; otherwise
- .
-
-
-
-
- Gets the user that created this invite if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user that created this invite or .
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- A representing the channel snowflake identifier that the invite points to.
-
-
-
-
- Gets the number of times this invite has been used.
-
-
- An representing the number of times this invite was used.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is set.
-
-
-
-
- Contains a piece of audit log data related to an invite removal.
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets a value that indicates whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off; otherwise
- .
-
-
-
-
- Gets the user that created this invite if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user that created this invite or .
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- A representing the channel snowflake identifier that the invite points to.
-
-
-
-
- Gets the number of times this invite has been used.
-
-
- An representing the number of times this invite has been used.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is set.
-
-
-
-
- Represents information for an invite.
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
- An representing the time in seconds until this invite expires; if this
- invite never expires or not specified.
-
-
-
-
- Gets the unique identifier for this invite.
-
-
- A string containing the invite code (e.g. FTqNnyS).
-
-
-
-
- Gets a value that indicates whether the invite is a temporary one.
-
-
- if users accepting this invite will be removed from the guild when they log off,
- if not; if not specified.
-
-
-
-
- Gets the ID of the channel this invite is linked to.
-
-
- A representing the channel snowflake identifier that the invite points to;
- if not specified.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
- An representing the number of uses this invite may be accepted until it is removed
- from the guild; if none is specified.
-
-
-
-
- Gets the id of the user created this invite.
-
-
-
-
- Contains a piece of audit log data relating to an invite update.
-
-
-
-
- Gets the invite information before the changes.
-
-
- An information object containing the original invite information before the changes were made.
-
-
-
-
- Gets the invite information after the changes.
-
-
- An information object containing the invite information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to a kick.
-
-
-
-
- Gets the user that was kicked.
-
-
- Download method may return if the user is a 'Deleted User#....'
- because Discord does send user data for deleted users.
-
-
- A cacheable user object representing the kicked user.
-
-
-
-
- Contains a piece of audit log data related to disconnecting members from voice channels.
-
-
-
-
- Gets the number of members that were disconnected.
-
-
- An representing the number of members that were disconnected from a voice channel.
-
-
-
-
- Contains a piece of audit log data related to moving members between voice channels.
-
-
-
-
- Gets the ID of the channel that the members were moved to.
-
-
- A representing the snowflake identifier for the channel that the members were moved to.
-
-
-
-
- Gets the number of members that were moved.
-
-
- An representing the number of members that were moved to another voice channel.
-
-
-
-
- Contains a piece of audit log data related to a change in a guild member's roles.
-
-
-
-
- Gets a collection of role changes that were performed on the member.
-
-
- A read-only collection of , containing the roles that were changed on
- the member.
-
-
-
-
- Gets the user that the roles changes were performed on.
-
-
- A cacheable user object representing the user that the role changes were performed on.
-
-
-
-
- An information object representing a change in one of a guild member's roles.
-
-
-
-
- Gets the name of the role that was changed.
-
-
- A string containing the name of the role that was changed.
-
-
-
-
- Gets the ID of the role that was changed.
-
-
- A representing the snowflake identifier of the role that was changed.
-
-
-
-
- Gets a value that indicates whether the role was added to the user.
-
-
- if the role was added to the user; otherwise .
-
-
-
-
- Gets a value indicating that the user role has been removed.
-
-
- true if the role has been removed from the user; otherwise false.
-
-
-
-
- Contains a piece of audit log data related to a change in a guild member.
-
-
-
-
- Gets the user that the changes were performed on.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user who the changes were performed on.
-
-
-
-
- Gets the member information before the changes.
-
-
- An information object containing the original member information before the changes were made.
-
-
-
-
- Gets the member information after the changes.
-
-
- An information object containing the member information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to message deletion(s).
-
-
-
-
- Gets the ID of the channel that the messages were deleted from.
-
-
- A representing the snowflake identifier for the channel that the messages were
- deleted from.
-
-
-
-
- Gets the number of messages that were deleted.
-
-
- An representing the number of messages that were deleted from the channel.
-
-
-
-
- Contains a piece of audit log data related to message deletion(s).
-
-
-
-
- Gets the number of messages that were deleted.
-
-
- An representing the number of messages that were deleted from the channel.
-
-
-
-
- Gets the ID of the channel that the messages were deleted from.
-
-
- A representing the snowflake identifier for the channel that the messages were
- deleted from.
-
-
-
-
- Gets the user of the messages that were deleted.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user that created the deleted messages.
-
-
-
-
- Contains a piece of audit log data related to a pinned message.
-
-
-
-
- Gets the ID of the messages that was pinned.
-
-
- A representing the snowflake identifier for the messages that was pinned.
-
-
-
-
- Gets the ID of the channel that the message was pinned from.
-
-
- A representing the snowflake identifier for the channel that the message was pinned from.
-
-
-
-
- Gets the user of the message that was pinned if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user that created the pinned message or .
-
-
-
-
- Contains a piece of audit log data related to an unpinned message.
-
-
-
-
- Gets the ID of the messages that was unpinned.
-
-
- A representing the snowflake identifier for the messages that was unpinned.
-
-
-
-
- Gets the ID of the channel that the message was unpinned from.
-
-
- A representing the snowflake identifier for the channel that the message was unpinned from.
-
-
-
-
- Gets the user of the message that was unpinned if available.
-
-
- Will be if the user is a 'Deleted User#....' because Discord does send user data for deleted users.
-
-
- A user object representing the user that created the unpinned message or .
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to an onboarding prompt creation.
-
-
-
-
- Gets the onboarding prompt information after the changes.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
-
- if this property is not mentioned in this entry.
-
-
-
-
- Contains a piece of audit log data related to an onboarding prompt update.
-
-
-
-
- Gets the onboarding prompt information after the changes.
-
-
-
-
- Gets the onboarding prompt information before the changes.
-
-
-
-
- Contains a piece of audit log data related to a guild update.
-
-
-
-
- Gets the onboarding information after the changes.
-
-
-
-
- Gets the onboarding information before the changes.
-
-
-
-
- Contains a piece of audit log data for a permissions overwrite creation.
-
-
-
-
- Gets the ID of the channel that the overwrite was created from.
-
-
- A representing the snowflake identifier for the channel that the overwrite was
- created from.
-
-
-
-
- Gets the permission overwrite object that was created.
-
-
- An object representing the overwrite that was created.
-
-
-
-
- Contains a piece of audit log data related to the deletion of a permission overwrite.
-
-
-
-
- Gets the ID of the channel that the overwrite was deleted from.
-
-
- A representing the snowflake identifier for the channel that the overwrite was
- deleted from.
-
-
-
-
- Gets the permission overwrite object that was deleted.
-
-
- An object representing the overwrite that was deleted.
-
-
-
-
- Contains a piece of audit log data related to the update of a permission overwrite.
-
-
-
-
- Gets the ID of the channel that the overwrite was updated from.
-
-
- A representing the snowflake identifier for the channel that the overwrite was
- updated from.
-
-
-
-
- Gets the overwrite permissions before the changes.
-
-
- An overwrite permissions object representing the overwrite permissions that the overwrite had before
- the changes were made.
-
-
-
-
- Gets the overwrite permissions after the changes.
-
-
- An overwrite permissions object representing the overwrite permissions that the overwrite had after the
- changes.
-
-
-
-
- Gets the ID of the overwrite that was updated.
-
-
- A representing the snowflake identifier of the overwrite that was updated.
-
-
-
-
- Gets the target of the updated permission overwrite.
-
-
- The target of the updated permission overwrite.
-
-
-
-
- Contains a piece of audit log data related to a guild prune.
-
-
-
-
- Gets the threshold for a guild member to not be kicked.
-
-
- An representing the amount of days that a member must have been seen in the server,
- to avoid being kicked. (i.e. If a user has not been seen for more than , they will be
- kicked from the server)
-
-
-
-
- Gets the number of members that were kicked during the purge.
-
-
- An representing the number of members that were removed from this guild for having
- not been seen within .
-
-
-
-
- Contains a piece of audit log data related to a role creation.
-
-
-
-
- Gets the ID of the role that was created.
-
-
- A representing the snowflake identifier to the role that was created.
-
-
-
-
- Gets the role information that was created.
-
-
- An information object representing the properties of the role that was created.
-
-
-
-
- Contains a piece of audit log data relating to a role deletion.
-
-
-
-
- Gets the ID of the role that was deleted.
-
-
- A representing the snowflake identifier to the role that was deleted.
-
-
-
-
- Gets the role information that was deleted.
-
-
- An information object representing the properties of the role that was deleted.
-
-
-
-
- Represents information for a role edit.
-
-
-
-
- Gets the color of this role.
-
-
- A color object representing the color assigned to this role; if this role does not have a
- color.
-
-
-
-
- Gets a value that indicates whether this role is mentionable.
-
-
- if other members can mention this role in a text channel; otherwise ;
- if this is not mentioned in this entry.
-
-
-
-
- Gets a value that indicates whether this role is hoisted (i.e. its members will appear in a separate
- section on the user list).
-
-
- if this role's members will appear in a separate section in the user list; otherwise
- ; if this is not mentioned in this entry.
-
-
-
-
- Gets the name of this role.
-
-
- A string containing the name of this role.
-
-
-
-
- Gets the permissions assigned to this role.
-
-
- A guild permissions object representing the permissions that have been assigned to this role;
- if no permissions have been assigned.
-
-
-
-
-
- if the value was not updated in this entry.
-
-
-
-
- Contains a piece of audit log data related to a role update.
-
-
-
-
- Gets the ID of the role that was changed.
-
-
- A representing the snowflake identifier of the role that was changed.
-
-
-
-
- Gets the role information before the changes.
-
-
- A role information object containing the role information before the changes were made.
-
-
-
-
- Gets the role information after the changes.
-
-
- A role information object containing the role information after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to a scheduled event creation.
-
-
-
-
- Gets the snowflake id of the event.
-
-
-
-
- Gets the snowflake id of the channel the event is associated with.
-
-
-
-
- Gets name of the event.
-
-
-
-
- Gets the description of the event. null if none is set.
-
-
-
-
- Gets the time the event was scheduled for.
-
-
-
-
- Gets the time the event was scheduled to end.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the snowflake id of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the metadata for the entity associated with the event.
-
-
-
-
- Gets the image hash of the image that was attached to the event. Null if not set.
-
-
-
-
- Contains a piece of audit log data related to a scheduled event deletion.
-
-
-
-
- Gets the snowflake id of the event.
-
-
-
-
- Gets the snowflake id of the channel the event is associated with.
-
-
-
-
- Gets name of the event.
-
-
-
-
- Gets the description of the event. null if none is set.
-
-
-
-
- Gets the time the event was scheduled for.
-
-
-
-
- Gets the time the event was scheduled to end.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the snowflake id of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the metadata for the entity associated with the event.
-
-
-
-
- Gets the image hash of the image that was attached to the event. Null if not set.
-
-
-
-
- Represents information for a scheduled event.
-
-
-
-
- Gets the snowflake id of the channel the event is associated with.
-
-
-
-
- Gets name of the event.
-
-
-
-
- Gets the description of the event. null if none is set.
-
-
-
-
- Gets the time the event was scheduled for.
-
-
-
-
- Gets the time the event was scheduled to end.
-
-
-
-
- Gets the privacy level of the event.
-
-
-
-
- Gets the status of the event.
-
-
-
-
- Gets the type of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the snowflake id of the entity associated with the event (stage / void / external).
-
-
-
-
- Gets the metadata for the entity associated with the event.
-
-
-
-
- Gets the image hash of the image that was attached to the event. Null if not set.
-
-
-
-
- Contains a piece of audit log data related to a scheduled event updates.
-
-
-
-
- Gets the snowflake id of the event.
-
-
-
-
- Gets the state before the change.
-
-
-
-
- Gets the state after the change.
-
-
-
-
- Represents information for a stage.
-
-
-
-
- Gets the topic of the stage channel.
-
-
-
-
- Gets the privacy level of the stage channel.
-
-
-
-
- Contains a piece of audit log data related to a stage going live.
-
-
-
-
- Gets the topic of the stage channel.
-
-
-
-
- Gets the privacy level of the stage channel.
-
-
-
-
- Gets the Id of the stage channel.
-
-
-
-
- Contains a piece of audit log data related to a stage instance deleted.
-
-
-
-
- Gets the topic of the stage channel.
-
-
-
-
- Gets the privacy level of the stage channel.
-
-
-
-
- Gets the Id of the stage channel.
-
-
-
-
- Contains a piece of audit log data related to a stage instance update.
-
-
-
-
- Gets the Id of the stage channel.
-
-
-
-
- Gets the stage information before the changes.
-
-
-
-
- Gets the stage information after the changes.
-
-
-
-
- Contains a piece of audit log data related to a sticker creation.
-
-
-
-
- Gets the sticker information after the changes.
-
-
-
-
- Contains a piece of audit log data related to a sticker removal.
-
-
-
-
- Gets the sticker information before the changes.
-
-
-
-
- Represents information for a guild.
-
-
-
-
- Gets the name of the sticker. if the value was not updated in this entry.
-
-
-
-
- Gets tags of the sticker. if the value was not updated in this entry.
-
-
-
-
- Gets the description of the sticker. if the value was not updated in this entry.
-
-
-
-
- Contains a piece of audit log data related to a sticker update.
-
-
-
-
- Gets the sticker information before the changes.
-
-
-
-
- Gets the sticker information after the changes.
-
-
-
-
- Contains a piece of audit log data related to a thread creation.
-
-
-
-
- Gets the snowflake ID of the thread.
-
-
- A representing the snowflake identifier for the thread.
-
-
-
-
- Gets the name of the thread.
-
-
- A string containing the name of the thread.
-
-
-
-
- Gets the type of the thread.
-
-
- The type of thread.
-
-
-
-
- Gets the value that indicates whether the thread is archived.
-
-
- if this thread has the Archived flag enabled; otherwise .
-
-
-
-
- Gets the auto archive duration of the thread.
-
-
- The thread auto archive duration of the thread.
-
-
-
-
- Gets the value that indicates whether the thread is locked.
-
-
- if this thread has the Locked flag enabled; otherwise .
-
-
-
-
- Gets the slow-mode delay of the thread.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the applied tags of this thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the flags of the thread channel.
-
-
- if the property was not updated.
-
-
-
-
- Contains a piece of audit log data related to a thread deletion.
-
-
-
-
- Gets the snowflake ID of the deleted thread.
-
-
- A representing the snowflake identifier for the deleted thread.
-
-
-
-
-
- Gets the name of the deleted thread.
-
-
- A string containing the name of the deleted thread.
-
-
-
-
-
- Gets the type of the deleted thread.
-
-
- The type of thread that was deleted.
-
-
-
-
- Gets the value that indicates whether the deleted thread was archived.
-
-
- if this thread had the Archived flag enabled; otherwise .
-
-
-
-
- Gets the thread auto archive duration of the deleted thread.
-
-
- The thread auto archive duration of the thread that was deleted.
-
-
-
-
- Gets the value that indicates whether the deleted thread was locked.
-
-
- if this thread had the Locked flag enabled; otherwise .
-
-
-
-
- Gets the slow-mode delay of the deleted thread.
-
-
- An representing the time in seconds required before the user can send another
- message; 0 if disabled.
- if this is not mentioned in this entry.
-
-
-
-
- Gets the applied tags of this thread.
-
-
- if this is not mentioned in this entry.
-
-
-
-
- Gets the flags of the thread channel.
-
-
- if this is not mentioned in this entry.
-
-
-
-
- Represents information for a thread.
-
-
-
-
- Gets the name of the thread.
-
-
-
-
- Gets the value that indicates whether the thread is archived.
-
-
- if the property was not updated.
-
-
-
-
- Gets the auto archive duration of thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the value that indicates whether the thread is locked.
-
-
- if the property was not updated.
-
-
-
-
- Gets the slow-mode delay of the thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the applied tags of this thread.
-
-
- if the property was not updated.
-
-
-
-
- Gets the flags of the thread channel.
-
-
- if the property was not updated.
-
-
-
-
- Gets the type of the thread.
-
-
- if the property was not updated.
-
-
-
-
- Contains a piece of audit log data related to a thread update.
-
-
-
-
- Gets the type of the thread.
-
-
- The type of thread.
-
-
-
-
- Gets the thread information before the changes.
-
-
- A thread information object representing the thread before the changes were made.
-
-
-
-
- Gets the thread information after the changes.
-
-
- A thread information object representing the thread after the changes were made.
-
-
-
-
- Contains a piece of audit log data related to an unban.
-
-
-
-
- Gets the user that was unbanned.
-
-
- A cacheable user object representing the user that was unbanned.
-
-
-
-
- Contains a piece of audit log data related to a webhook creation.
-
-
-
-
- Gets the webhook id.
-
-
- The webhook identifier.
-
-
-
-
- Gets the type of webhook that was created.
-
-
- The type of webhook that was created.
-
-
-
-
- Gets the name of the webhook.
-
-
- A string containing the name of the webhook.
-
-
-
-
- Gets the ID of the channel that the webhook could send to.
-
-
- A representing the snowflake identifier of the channel that the webhook could send
- to.
-
-
-
-
- Gets the hash value of the webhook's avatar.
-
-
- A string containing the hash of the webhook's avatar.
-
-
-
-
- Contains a piece of audit log data related to a webhook deletion.
-
-
-
-
- Gets the ID of the webhook that was deleted.
-
-
- A representing the snowflake identifier of the webhook that was deleted.
-
-
-
-
- Gets the ID of the channel that the webhook could send to.
-
-
- A representing the snowflake identifier of the channel that the webhook could send
- to.
-
-
-
-
- Gets the type of the webhook that was deleted.
-
-
- The type of webhook that was deleted.
-
-
-
-
- Gets the name of the webhook that was deleted.
-
-
- A string containing the name of the webhook that was deleted.
-
-
-
-
- Gets the hash value of the webhook's avatar.
-
-
- A string containing the hash of the webhook's avatar.
-
-
-
-
- Represents information for a webhook.
-
-
-
-
- Gets the name of this webhook.
-
-
- A string containing the name of this webhook.
-
-
-
-
- Gets the ID of the channel that this webhook sends to.
-
-
- A representing the snowflake identifier of the channel that this webhook can send
- to.
-
-
-
-
- Gets the hash value of this webhook's avatar.
-
-
- A string containing the hash of this webhook's avatar.
-
-
-
-
- Contains a piece of audit log data related to a webhook update.
-
-
-
-
- Gets the webhook information before the changes.
-
-
- A webhook information object representing the webhook before the changes were made.
-
-
-
-
- Gets the webhook information after the changes.
-
-
- A webhook information object representing the webhook after the changes were made.
-
-
-
-
- Represents data applied to a .
-
-
-
-
- Represents a Socket-based audit log entry.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a generic WebSocket-based audio channel.
-
-
-
-
- Represents a generic WebSocket-based channel that can send and receive messages.
-
-
-
-
- Gets all messages in this channel's cache.
-
-
- A read-only collection of WebSocket-based messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a cached message from this channel.
-
-
-
- This method requires the use of cache, which is not enabled by default; if caching is not enabled,
- this method will always return . Please refer to
- for more details.
-
-
- This method retrieves the message from the local WebSocket cache and does not send any additional
- request to Discord. This message may be a message that has been deleted.
-
-
- The snowflake identifier of the message.
-
- A WebSocket-based message object; if it does not exist in the cache or if caching is not
- enabled.
-
-
-
-
- Gets the last N cached messages from this message channel.
-
-
-
- This method requires the use of cache, which is not enabled by default; if caching is not enabled,
- this method will always return an empty collection. Please refer to
- for more details.
-
-
- This method retrieves the message(s) from the local WebSocket cache and does not send any additional
- request to Discord. This read-only collection may include messages that have been deleted. The
- maximum number of messages that can be retrieved from this method depends on the
- set.
-
-
- The number of messages to get.
-
- A read-only collection of WebSocket-based messages.
-
-
-
-
- Gets the last N cached messages starting from a certain message in this message channel.
-
-
-
- This method requires the use of cache, which is not enabled by default; if caching is not enabled,
- this method will always return an empty collection. Please refer to
- for more details.
-
-
- This method retrieves the message(s) from the local WebSocket cache and does not send any additional
- request to Discord. This read-only collection may include messages that have been deleted. The
- maximum number of messages that can be retrieved from this method depends on the
- set.
-
-
- The message ID to start the fetching from.
- The direction of which the message should be gotten from.
- The number of messages to get.
-
- A read-only collection of WebSocket-based messages.
-
-
-
-
- Gets the last N cached messages starting from a certain message in this message channel.
-
-
-
- This method requires the use of cache, which is not enabled by default; if caching is not enabled,
- this method will always return an empty collection. Please refer to
- for more details.
-
-
- This method retrieves the message(s) from the local WebSocket cache and does not send any additional
- request to Discord. This read-only collection may include messages that have been deleted. The
- maximum number of messages that can be retrieved from this method depends on the
- set.
-
-
- The message to start the fetching from.
- The direction of which the message should be gotten from.
- The number of messages to get.
-
- A read-only collection of WebSocket-based messages.
-
-
-
-
- Gets a read-only collection of pinned messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation for retrieving pinned messages in this channel.
- The task result contains a read-only collection of messages found in the pinned messages.
-
-
-
-
- Represents a generic WebSocket-based channel that is private to select recipients.
-
-
-
-
- Represents a WebSocket-based category channel.
-
-
-
-
-
-
-
- Gets the child channels of this category.
-
-
- A read-only collection of whose
- matches the snowflake identifier of this category
- channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based channel.
-
-
-
-
- Gets when the channel is created.
-
-
-
-
- Gets a collection of users from the WebSocket cache.
-
-
-
- Unexpected channel type is created.
-
-
-
- Gets a generic user from this channel.
-
- The snowflake identifier of the user.
-
- A generic WebSocket-based user associated with the snowflake identifier.
-
-
-
-
-
-
-
-
-
-
-
-
- Unexpected type.
-
-
- Unexpected type.
-
-
-
- Represents a WebSocket-based direct-message channel.
-
-
-
-
- Gets the recipient of the channel.
-
-
-
-
-
-
-
- Gets a collection that is the current logged-in user and the recipient.
-
-
-
-
-
-
-
-
-
-
- Gets the message associated with the given .
-
- TThe ID of the message.
- The options to be used when sending the request.
-
- The message gotten from either the cache or the download, or if none is found.
-
-
-
-
- Gets the last N messages from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The ID of the starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a user in this channel from the provided .
-
- The snowflake identifier of the user.
-
- A object that is a recipient of this channel; otherwise .
-
-
-
-
- Returns the recipient user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a forum channel in a guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the parent (category) of this channel in the guild's channel list.
-
-
- An representing the parent of this channel; if none is set.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based private group channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns a collection representing all of the users in the group.
-
-
-
-
- Returns a collection representing all users in the group, not including the client.
-
-
-
-
-
-
- Voice is not yet supported for group channels.
-
-
-
-
-
-
- Gets a message from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The snowflake identifier of the message.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the message. The task result contains
- the retrieved message; if no message is found with the specified identifier.
-
-
-
-
- Gets the last N messages from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The ID of the starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are and .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a user from this group.
-
- The snowflake identifier of the user.
-
- A WebSocket-based group user associated with the snowflake identifier.
-
-
-
-
- Returns the name of the group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Connecting to a group channel is not supported.
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based guild channel.
-
-
-
-
- Gets the guild associated with this channel.
-
-
- A guild object that this channel belongs to.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of users that are able to view the channel.
-
-
- If this channel is a voice channel, use to retrieve a
- collection of users who are currently connected to this channel.
-
-
- A read-only collection of users that can access the channel (i.e. the users seen in the user list).
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the permission overwrite for a specific user.
-
- The user to get the overwrite from.
-
- An overwrite object for the targeted user; if none is set.
-
-
-
-
- Gets the permission overwrite for a specific role.
-
- The role to get the overwrite from.
-
- An overwrite object for the targeted role; if none is set.
-
-
-
-
- Adds or updates the permission overwrite for the given user.
-
- The user to add the overwrite to.
- The overwrite to add to the user.
- The options to be used when sending the request.
-
- A task representing the asynchronous permission operation for adding the specified permissions to the channel.
-
-
-
-
- Adds or updates the permission overwrite for the given role.
-
- The role to add the overwrite to.
- The overwrite to add to the role.
- The options to be used when sending the request.
-
- A task representing the asynchronous permission operation for adding the specified permissions to the channel.
-
-
-
-
- Removes the permission overwrite for the given user, if one exists.
-
- The user to remove the overwrite from.
- The options to be used when sending the request.
-
- A task representing the asynchronous operation for removing the specified permissions from the channel.
-
-
-
-
- Removes the permission overwrite for the given role, if one exists.
-
- The role to remove the overwrite from.
- The options to be used when sending the request.
-
- A task representing the asynchronous operation for removing the specified permissions from the channel.
-
-
-
-
- Gets the name of the channel.
-
-
- A string that resolves to .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based news channel in a guild that has the same properties as a .
-
-
-
- The property is not supported for news channels.
-
-
-
-
-
-
-
- This property is not supported by this type. Attempting to use this property will result in a .
-
-
-
-
-
-
-
-
-
-
-
- Represents a stage channel received over the gateway.
-
-
-
-
-
- This field is always true for stage channels.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns if the current user is a speaker within the stage, otherwise .
-
-
-
-
- Gets a collection of users who are speakers within the stage.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based channel in a guild that can send and receive messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the parent (category) of this channel in the guild's channel list.
-
-
- An representing the parent of this channel; if none is set.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of threads within this text channel.
-
-
-
-
-
-
-
- Creates a thread within this .
-
-
- When is the thread type will be based off of the
- channel its created in. When called on a , it creates a .
- When called on a , it creates a . The id of the created
- thread will be the same as the id of the message, and as such a message can only have a
- single thread created from it.
-
- The name of the thread.
-
- The type of the thread.
-
- Note: This parameter is not used if the parameter is not specified.
-
-
-
- The duration on which this thread archives after.
-
- The message which to start the thread from.
- The options to be used when sending the request.
-
- A task that represents the asynchronous create operation. The task result contains a
-
-
-
-
-
-
-
-
-
-
- Gets a message from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The snowflake identifier of the message.
- The options to be used when sending the request.
-
- A task that represents an asynchronous get operation for retrieving the message. The task result contains
- the retrieved message; if no message is found with the specified identifier.
-
-
-
-
- Gets the last N messages from this message channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The ID of the starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
- Gets a collection of messages in this channel.
-
-
- This method follows the same behavior as described in .
- Please visit its documentation for more details on this method.
-
- The starting message to get the messages from.
- The direction of the messages to be gotten from.
- The numbers of message to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of messages.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
- The only valid are , and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
- Message content is too long, length must be less or equal to .
- The only valid are , and .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates a webhook in this text channel.
-
- The name of the webhook.
- The avatar of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- webhook.
-
-
-
-
- Gets a webhook available in this text channel.
-
- The identifier of the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a webhook associated
- with the identifier; if the webhook is not found.
-
-
-
-
- Gets the webhooks available in this text channel.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of webhooks that is available in this channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a thread channel inside of a guild.
-
-
-
-
-
-
-
- Gets the owner of the current thread.
-
-
-
-
- Gets the current users within this thread.
-
-
-
-
-
-
-
- if this thread is private, otherwise
-
-
-
-
- Gets the parent channel this thread resides in.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of cached users within this thread.
-
-
-
-
-
-
-
- Gets all users inside this thread.
-
-
- If all users are not downloaded then this method will call and return the result.
-
- The options to be used when sending the request.
- A task representing the download operation.
-
-
-
- Downloads all users that have access to this thread.
-
- The options to be used when sending the request.
- A task representing the asynchronous download operation.
-
-
-
-
-
-
-
-
-
- Adds a user to this thread.
-
- The to add.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation of adding a member to a thread.
-
-
-
-
- Removes a user from this thread.
-
- The to remove from this thread.
- The options to be used when sending the request.
-
- A task that represents the asynchronous operation of removing a user from this thread.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
-
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
-
-
- This method is not supported in threads.
-
-
-
- This method is not supported in threads.
-
-
-
- Represents a WebSocket-based voice channel in a guild.
-
-
-
-
- Gets whether or not the guild has Text-In-Voice enabled and the voice channel is a TiV channel.
-
-
- Discord currently doesn't have a way to disable Text-In-Voice yet so this field is always
- on s and on
- s.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of users that are currently connected to this voice channel.
-
-
- A read-only collection of users that are currently connected to this voice channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cannot create threads in voice channels.
-
-
- Threads are not supported in voice channels
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the id of the rule which action belongs to.
-
-
-
-
- Gets the trigger type of rule which was triggered.
-
-
-
-
- Gets the user which generated the content which triggered the rule.
-
-
-
-
- Gets the channel in which user content was posted.
-
-
-
-
- Gets the message that triggered the action.
-
-
- This property will be if the message was blocked by the automod.
-
-
-
-
- Gets the id of the system auto moderation messages posted as a result of this action.
-
-
- This property will be if this event does not correspond to an action
- with type .
-
-
-
-
- Gets the user-generated text content.
-
-
- This property will be empty if is disabled.
-
-
-
-
- Gets the substring in content that triggered the rule.
-
-
- This property will be empty if is disabled.
-
-
-
-
- Gets the word or phrase configured in the rule that triggered the rule.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets channels members get opted in automatically.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets channels a member is added to when the option is selected.
-
-
-
-
-
-
-
- Gets roles assigned to a member when the option is selected.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the guild that this rule is in.
-
-
-
-
-
-
-
- Gets the creator of this rule.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the roles that are exempt from this rule.
-
-
-
-
- Gets the channels that are exempt from this rule.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based guild object.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the number of members.
-
-
- This property retrieves the number of members returned by Discord.
-
-
- Due to how this property is returned by Discord instead of relying on the WebSocket cache, the
- number here is the most accurate in terms of counting the number of users within this guild.
-
-
- Use this instead of enumerating the count of the
- collection, as you may see discrepancy
- between that and this property.
-
-
-
-
-
- Gets the number of members downloaded to the local guild cache.
-
-
- Indicates whether the client is connected to this guild.
-
-
-
-
-
-
-
-
- Gets the user that owns this guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Indicates whether the client has all the members downloaded to the local guild cache.
-
-
- Indicates whether the guild cache is synced to this guild.
-
-
-
- Gets the associated with this guild.
-
-
-
-
- Gets the default channel in this guild.
-
-
- This property retrieves the first viewable text channel for this guild.
-
- This channel does not guarantee the user can send message to it, as it only looks for the first viewable
- text channel.
-
-
-
- A representing the first viewable channel that the user has access to.
-
-
-
-
- Gets the AFK voice channel in this guild.
-
-
- A that the AFK users will be moved to after they have idled for too
- long; if none is set.
-
-
-
-
-
-
-
-
-
-
- Gets the widget channel (i.e. the channel set in the guild's widget settings) in this guild.
-
-
- A channel set within the server's widget settings; if none is set.
-
-
-
-
- Gets the safety alerts channel in this guild.
-
-
- The channel set for receiving safety alerts channel; if none is set.
-
-
-
-
- Gets the system channel where randomized welcome messages are sent in this guild.
-
-
- A text channel where randomized welcome messages will be sent to; if none is set.
-
-
-
-
- Gets the channel with the guild rules.
-
-
- A text channel with the guild rules; if none is set.
-
-
-
-
- Gets the channel where admins and moderators of Community guilds receive
- notices from Discord.
-
-
- A text channel where admins and moderators of Community guilds receive
- notices from Discord; if none is set.
-
-
-
-
- Gets a collection of all text channels in this guild.
-
-
- A read-only collection of message channels found within this guild.
-
-
-
-
- Gets a collection of all voice channels in this guild.
-
-
- A read-only collection of voice channels found within this guild.
-
-
-
-
- Gets a collection of all stage channels in this guild.
-
-
- A read-only collection of stage channels found within this guild.
-
-
-
-
- Gets a collection of all category channels in this guild.
-
-
- A read-only collection of category channels found within this guild.
-
-
-
-
- Gets a collection of all thread channels in this guild.
-
-
- A read-only collection of thread channels found within this guild.
-
-
-
-
- Gets a collection of all forum channels in this guild.
-
-
- A read-only collection of forum channels found within this guild.
-
-
-
-
- Gets the current logged-in user.
-
-
-
-
- Gets the built-in role containing all users in this guild.
-
-
- A role object that represents an @everyone role in this guild.
-
-
-
-
- Gets a collection of all channels in this guild.
-
-
- A read-only collection of generic channels found within this guild.
-
-
-
-
-
-
-
- Gets a collection of all custom stickers for this guild.
-
-
-
-
- Gets a collection of users in this guild.
-
-
- This property retrieves all users found within this guild.
-
-
- This property may not always return all the members for large guilds (i.e. guilds containing
- 100+ users). If you are simply looking to get the number of users present in this guild,
- consider using instead.
-
-
- Otherwise, you may need to enable to fetch
- the full user list upon startup, or use to manually download
- the users.
-
-
-
-
- A collection of guild users found within this guild.
-
-
-
-
- Gets a collection of all roles in this guild.
-
-
- A read-only collection of roles found within this guild.
-
-
-
-
- Gets a collection of all events within this guild.
-
-
- This field is based off of caching alone, since there is no events returned on the guild model.
-
-
- A read-only collection of guild events found within this guild.
-
-
-
-
-
-
-
- is .
-
-
-
- is .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a ban object for a banned user.
-
- The banned user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a ban object, which
- contains the user information and the reason for the ban; if the ban entry cannot be found.
-
-
-
-
- Gets a ban object for a banned user.
-
- The snowflake identifier for the banned user.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a ban object, which
- contains the user information and the reason for the ban; if the ban entry cannot be found.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a channel in this guild.
-
- The snowflake identifier for the channel.
-
- A generic channel associated with the specified ; if none is found.
-
-
-
-
- Gets a text channel in this guild.
-
- The snowflake identifier for the text channel.
-
- A text channel associated with the specified ; if none is found.
-
-
-
-
- Gets a thread in this guild.
-
- The snowflake identifier for the thread.
-
- A thread channel associated with the specified ; if none is found.
-
-
-
-
- Gets a forum channel in this guild.
-
- The snowflake identifier for the forum channel.
-
- A forum channel associated with the specified ; if none is found.
-
-
-
-
- Gets a voice channel in this guild.
-
- The snowflake identifier for the voice channel.
-
- A voice channel associated with the specified ; if none is found.
-
-
-
-
- Gets a stage channel in this guild.
-
- The snowflake identifier for the stage channel.
-
- A stage channel associated with the specified ; if none is found.
-
-
-
-
- Gets a category channel in this guild.
-
- The snowflake identifier for the category channel.
-
- A category channel associated with the specified ; if none is found.
-
-
-
-
- Creates a new text channel in this guild.
-
-
- The following example creates a new text channel under an existing category named Wumpus with a set topic.
-
- var categories = await guild.GetCategoriesAsync();
- var targetCategory = categories.FirstOrDefault(x => x.Name == "wumpus");
- if (targetCategory == null) return;
- await Context.Guild.CreateTextChannelAsync(name, x =>
- {
- x.CategoryId = targetCategory.Id;
- x.Topic = $"This channel was created at {DateTimeOffset.UtcNow} by {user}.";
- });
-
-
- The new name for the text channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- text channel.
-
-
-
-
- Creates a new voice channel in this guild.
-
- The new name for the voice channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
- is .
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- voice channel.
-
-
-
-
- Creates a new stage channel in this guild.
-
- The new name for the stage channel.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- stage channel.
-
-
-
-
- Creates a new channel category in this guild.
-
- The new name for the category.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
- is .
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- category channel.
-
-
-
-
- Creates a new channel forum in this guild.
-
- The new name for the forum.
- The delegate containing the properties to be applied to the channel upon its creation.
- The options to be used when sending the request.
- is .
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- forum channel.
-
-
-
-
- Gets a collection of all the voice regions this guild can access.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- voice regions the guild can access.
-
-
-
-
- Deletes all application commands in the current guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous delete operation.
-
-
-
-
- Gets a collection of slash commands created by the current user in this guild.
-
- Whether to include full localization dictionaries in the returned objects, instead of the name localized and description localized fields.
- The target locale of the localized name and description fields. Sets X-Discord-Locale header, which takes precedence over Accept-Language.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- slash commands created by the current user.
-
-
-
-
- Gets an application command within this guild with the specified id.
-
- The id of the application command to get.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A ValueTask that represents the asynchronous get operation. The task result contains a
- if found, otherwise .
-
-
-
-
- Creates an application command within this guild.
-
- The properties to use when creating the command.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the command that was created.
-
-
-
-
- Overwrites the application commands within this guild.
-
- A collection of properties to use when creating the commands.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains a collection of commands that was created.
-
-
-
-
- Gets a collection of all invites in this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection of
- invite metadata, each representing information for an invite found within this guild.
-
-
-
-
- Gets the vanity invite URL of this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the partial metadata of
- the vanity invite found within this guild; if none is found.
-
-
-
-
- Gets a role in this guild.
-
- The snowflake identifier for the role.
-
- A role that is associated with the specified ; if none is found.
-
-
-
-
- Creates a new role with the provided name.
-
- The new name for the role.
- The guild permission that the role should possess.
- The color of the role.
- Whether the role is separated from others on the sidebar.
- Whether the role can be mentioned.
- The options to be used when sending the request.
- is .
-
- A task that represents the asynchronous creation operation. The task result contains the newly created
- role.
-
-
-
-
-
-
-
- Gets a user from this guild.
-
-
- This method retrieves a user found within this guild.
-
- This may return in the WebSocket implementation due to incomplete user collection in
- large guilds.
-
-
- The snowflake identifier of the user.
-
- A guild user associated with the specified ; if none is found.
-
-
-
-
-
-
-
- Purges this guild's user cache.
-
-
-
-
- Purges this guild's user cache.
-
- The predicate used to select which users to clear.
-
-
-
- Gets a collection of all users in this guild.
-
-
- This method retrieves all users found within this guild through REST.
- Users returned by this method are not cached.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a collection of guild
- users found within this guild.
-
-
-
-
-
-
-
- Gets a collection of users in this guild that the name or nickname starts with the
- provided at .
-
-
- The can not be higher than .
-
- The partial name or nickname to search.
- The maximum number of users to be gotten.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a collection of guild
- users that the name or nickname starts with the provided at .
-
-
-
-
- Gets an event in this guild.
-
- The snowflake identifier for the event.
-
- An event that is associated with the specified ; if none is found.
-
-
-
-
- Gets an event within this guild.
-
- The snowflake identifier for the event.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation.
-
-
-
-
- Gets all active events within this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation.
-
-
-
-
- Creates an event within this guild.
-
- The name of the event.
- The privacy level of the event.
- The start time of the event.
- The type of the event.
- The description of the event.
- The end time of the event.
-
- The channel id of the event.
-
- The event must have a type of or
- in order to use this property.
-
-
- The location of the event; links are supported
- The optional banner image for the event.
- The options to be used when sending the request.
-
- A task that represents the asynchronous create operation.
-
-
-
-
- Gets the specified number of audit log entries for this guild.
-
- The number of audit log entries to fetch.
- The options to be used when sending the request.
- The audit log entry ID to filter entries before.
- The type of actions to filter.
- The user ID to filter entries for.
- The audit log entry ID to filter entries after.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of the requested audit log entries.
-
-
-
-
- Gets all cached audit log entries from this guild.
-
-
-
-
- Gets cached audit log entry with the provided id.
-
-
- Returns if no entry with provided id was found in cache.
-
-
-
-
- Gets audit log entries with the specified type from cache.
-
-
-
-
- Gets a webhook found within this guild.
-
- The identifier for the webhook.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the webhook with the
- specified ; if none is found.
-
-
-
-
- Gets a collection of all webhook from this guild.
-
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of webhooks found within the guild.
-
-
-
-
-
-
-
-
-
-
-
-
-
- is .
-
-
-
-
-
-
- Moves the user to the voice channel.
-
- The user to move.
- the channel where the user gets moved to.
- A task that represents the asynchronous operation for moving a user.
-
-
-
- Disconnects the user from its current voice channel
-
- The user to disconnect.
- A task that represents the asynchronous operation for disconnecting a user.
-
-
-
- Gets a specific sticker within this guild.
-
- The id of the sticker to get.
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains the sticker found with the
- specified ; if none is found.
-
-
-
-
- Gets a specific sticker within this guild.
-
- The id of the sticker to get.
- A sticker, if none is found then .
-
-
-
- Gets a collection of all stickers within this guild.
-
- The that determines whether the object should be fetched from cache.
- The options to be used when sending the request.
-
- A task that represents the asynchronous get operation. The task result contains a read-only collection
- of stickers found within the guild.
-
-
-
-
- Creates a new sticker in this guild.
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The image of the new emote.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Creates a new sticker in this guild
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The path of the file to upload.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Creates a new sticker in this guild
-
- The name of the sticker.
- The description of the sticker.
- The tags of the sticker.
- The stream containing the file data.
- The name of the file with the extension, ex: image.png.
- The options to be used when sending the request.
-
- A task that represents the asynchronous creation operation. The task result contains the created sticker.
-
-
-
-
- Deletes a sticker within this guild.
-
- The sticker to delete.
- The options to be used when sending the request.
-
- A task that represents the asynchronous removal operation.
-
-
-
-
- Gets the name of the guild.
-
-
- A string that resolves to .
-
-
-
-
- Gets a single rule configured in a guild from cache. Returns if the rule was not found.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the auto moderation rules defined in this guild.
-
-
- This property may not always return all auto moderation rules if they haven't been cached.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based guild event.
-
-
-
-
- Gets the guild of the event.
-
-
-
-
-
-
-
- Gets the channel of the event.
-
-
-
-
- Gets the user who created the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of users that are interested in this event.
-
- The amount of users to fetch.
- The options to be used when sending the request.
-
- A read-only collection of users.
-
-
-
-
- Gets a collection of N users interested in the event.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual messages as a
- collection.
-
- This method will attempt to fetch all users that are interested in the event.
- The library will attempt to split up the requests according to and .
- In other words, if there are 300 users, and the constant
- is 100, the request will be split into 3 individual requests; thus returning 3 individual asynchronous
- responses, hence the need of flattening.
-
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
- Gets a collection of N users interested in the event.
-
-
-
- The returned collection is an asynchronous enumerable object; one must call
- to access the individual users as a
- collection.
-
-
- Do not fetch too many users at once! This may cause unwanted preemptive rate limit or even actual
- rate limit, causing your bot to freeze!
-
- This method will attempt to fetch the number of users specified under around
- the user depending on the . The library will
- attempt to split up the requests according to your and
- . In other words, should the user request 500 users,
- and the constant is 100, the request will
- be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
- of flattening.
-
- The ID of the starting user to get the users from.
- The direction of the users to be gotten from.
- The numbers of users to be gotten from.
- The options to be used when sending the request.
-
- Paged collection of users.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Websocket-based slash command received over the gateway.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the data tied with the interaction.
-
-
-
-
- Gets the message associated with this message command.
-
-
-
-
-
- Note Not implemented for
-
-
-
-
-
-
-
- Represents a Websocket-based slash command received over the gateway.
-
-
-
-
- The data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the data tied with the interaction.
-
-
-
-
- Gets the user who this command targets.
-
-
-
-
-
- Note Not implemented for
-
-
-
-
-
-
-
- Represents a Websocket-based interaction type for Message Components.
-
-
-
-
- Gets the data received with this interaction, contains the button that was clicked.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the data sent with a .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns if user is cached, otherwise.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a user submitted received via GateWay.
-
-
-
-
- Gets the data for this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Acknowledges this interaction with the if the modal was created
- in a response to a message component interaction, otherwise.
-
-
-
-
-
-
-
-
-
-
- Represents data sent from a .
-
-
-
-
- Gets the 's Custom Id.
-
-
-
-
- Gets the 's components submitted by the user.
-
-
-
-
- Represents a received over the gateway.
-
-
-
-
- Gets the autocomplete data of this interaction.
-
-
-
-
-
-
-
- Responds to this interaction with a set of choices.
-
-
- The set of choices for the user to pick from.
-
- A max of 25 choices are allowed. Passing for this argument will show the executing user that
- there is no choices for their autocompleted input.
-
-
- The request options for this response.
-
- A task that represents the asynchronous operation of responding to this interaction.
-
-
-
-
- Responds to this interaction with a set of choices.
-
- The request options for this response.
-
- The set of choices for the user to pick from.
-
- A max of 25 choices are allowed. Passing for this argument will show the executing user that
- there is no choices for their autocompleted input.
-
-
-
- A task that represents the asynchronous operation of responding to this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents data for a slash commands autocomplete interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Websocket-based slash command received over the gateway.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the data tied with the interaction.
-
-
-
-
- Represents a Websocket-based received by the gateway.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the sub command options received for this sub command group.
-
-
-
-
- Represents a Websocket-based .
-
-
-
-
- Gets whether or not this command is a global application command.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of s for this command.
-
-
- If the is not a slash command, this field will be an empty collection.
-
-
-
-
- Gets the localization dictionary for the name field of this command.
-
-
-
-
- Gets the localization dictionary for the description field of this command.
-
-
-
-
- Gets the localized name of this command.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Gets the localized description of this command.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
-
-
-
- Gets the guild this command resides in; if this command is a global command then it will return
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a choice for a .
-
-
-
-
-
-
-
-
-
-
- Gets the localization dictionary for the name field of this command option choice.
-
-
-
-
- Gets the localized name of this command option choice.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Represents an option for a .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets a collection of choices for the user to pick from.
-
-
-
-
- Gets a collection of nested options.
-
-
-
-
- Gets the allowed channel types for this option.
-
-
-
-
- Gets the localization dictionary for the name field of this command option.
-
-
-
-
- Gets the localization dictionary for the description field of this command option.
-
-
-
-
- Gets the localized name of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Gets the localized description of this command option.
-
-
- Only returned when the `withLocalizations` query parameter is set to when requesting the command.
-
-
-
-
- Base class for User, Message, and Slash command interactions.
-
-
-
-
- Gets the name of the invoked command.
-
-
-
-
- Gets the id of the invoked command.
-
-
-
-
- Gets the data associated with this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Acknowledges this interaction with the .
-
-
- A task that represents the asynchronous operation of acknowledging the interaction.
-
-
-
-
- Represents the base data tied with the interaction.
-
-
-
-
-
-
-
- Gets the received with this interaction.
-
-
-
-
- Represents the base data tied with the interaction.
-
-
-
-
- Represents an Interaction received over the gateway.
-
-
-
-
- Gets the this interaction was used in.
-
-
- If the channel isn't cached, the bot scope isn't used, or the bot doesn't have access to it then
- this property will be .
-
-
-
-
-
-
-
- Gets the who triggered this interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets whether or not the token used to respond to this interaction is valid.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Responds to an Interaction with type .
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
- Message content is too long, length must be less or equal to .
- The parameters provided were invalid or the token was invalid.
-
-
-
- Responds to this interaction with a file attachment.
-
- The file to upload.
- The file name of the attachment.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Responds to this interaction with a file attachment.
-
- The file to upload.
- The file name of the attachment.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Responds to this interaction with a file attachment.
-
- The attachment containing the file and description.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Responds to this interaction with a collection of file attachments.
-
- A collection of attachments to upload.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- The sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- The file to upload.
- The file name of the attachment.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- The sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The text of the message to be sent.
- The file to upload.
- The file name of the attachment.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
- The request options for this response.
-
- The sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- The attachment containing the file and description.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Sends a followup message for this interaction.
-
- A collection of attachments to upload.
- The text of the message to be sent.
- A array of embeds to send with this response. Max 10.
- if the message should be read out by a text-to-speech reader, otherwise .
- if the response should be hidden to everyone besides the invoker of the command, otherwise .
- The allowed mentions for this response.
- The request options for this response.
- A to be sent with this response.
- A single embed to send with this response. If this is passed alongside an array of embeds, the single embed will be ignored.
-
- A task that represents an asynchronous send operation for delivering the message. The task result
- contains the sent message.
-
-
-
-
- Gets the original response for this interaction.
-
- The request options for this request.
- A that represents the initial response.
-
-
-
- Edits original response for this interaction.
-
- A delegate containing the properties to modify the message with.
- The request options for this request.
- A that represents the initial response.
-
-
-
-
-
-
- Acknowledges this interaction.
-
- to send this message ephemerally, otherwise .
- The request options for this request.
-
- A task that represents the asynchronous operation of acknowledging the interaction.
-
-
-
-
- Responds to this interaction with a .
-
- The to respond with.
- The request options for this request.
- A task that represents the asynchronous operation of responding to the interaction.
-
-
-
- Attempts to get the channel this interaction was executed in.
-
- The request options for this request.
-
- A task that represents the asynchronous operation of fetching the channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based invite to a guild.
-
-
-
-
-
-
-
- Gets the channel where this invite was created.
-
-
-
-
-
-
-
- Gets the guild where this invite was created.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the time (in seconds) until the invite expires.
-
-
-
-
- Gets the max number of uses this invite may have.
-
-
-
-
- Gets the number of times this invite has been used.
-
-
-
-
- Gets the user that created this invite if available.
-
-
-
-
-
-
-
- Gets when this invite was created.
-
-
-
-
- Gets the user targeted by this invite if available.
-
-
-
-
- Gets the type of the user targeted by this invite.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the URL of the invite.
-
-
- A string that resolves to the Url of the invite.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- is less than 0.
-
-
-
- Represents a WebSocket-based message.
-
-
-
-
- Gets the author of this message.
-
-
- A WebSocket-based user object.
-
-
-
-
- Gets the source channel of the message.
-
-
- A WebSocket-based message channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the interaction this message is a response to.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns all attachments included in this message.
-
-
- Collection of attachments.
-
-
-
-
- Returns all embeds included in this message.
-
-
- Collection of embed objects.
-
-
-
-
- Returns the channels mentioned in this message.
-
-
- Collection of WebSocket-based guild channels.
-
-
-
-
- Returns the roles mentioned in this message.
-
-
- Collection of WebSocket-based roles.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns the users mentioned in this message.
-
-
- Collection of WebSocket-based users.
-
-
-
-
-
-
-
-
-
-
- Gets the content of the message.
-
-
- Content of the message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based reaction object.
-
-
-
-
- Gets the ID of the user who added the reaction.
-
-
- This property retrieves the snowflake identifier of the user responsible for this reaction. This
- property will always contain the user identifier in event that
- cannot be retrieved.
-
-
- A user snowflake identifier associated with the user.
-
-
-
-
- Gets the user who added the reaction if possible.
-
-
-
- This property attempts to retrieve a WebSocket-cached user that is responsible for this reaction from
- the client. In other words, when the user is not in the WebSocket cache, this property may not
- contain a value, leaving the only identifiable information to be
- .
-
-
- If you wish to obtain an identifiable user object, consider utilizing
- which will attempt to retrieve the user from REST.
-
-
-
- A user object where possible; a value is not always returned.
-
-
-
-
-
- Gets the ID of the message that has been reacted to.
-
-
- A message snowflake identifier associated with the message.
-
-
-
-
- Gets the message that has been reacted to if possible.
-
-
- A WebSocket-based message where possible; a value is not always returned.
-
-
-
-
-
- Gets the channel where the reaction takes place in.
-
-
- A WebSocket-based message channel.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based message sent by the system.
-
-
-
-
- Represents a WebSocket-based message sent by a user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Only the author of a message may modify the message.
- Message content is too long, length must be less or equal to .
-
-
-
-
-
-
-
-
-
-
-
-
- This operation may only be called on a channel.
-
-
-
- Represents a WebSocket-based role to be given to a guild user.
-
-
-
-
- Gets the guild that owns this role.
-
-
- A representing the parent guild of this role.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns a value that determines if the role is an @everyone role.
-
-
- if the role is @everyone; otherwise .
-
-
-
-
-
-
-
- Returns an IEnumerable containing all that have this role.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the name of the role.
-
-
- A string that resolves to .
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a custom sticker within a guild received over the gateway.
-
-
-
-
- Gets the user that uploaded the guild sticker.
-
-
-
- This may return in the WebSocket implementation due to incomplete user collection in
- large guilds, or the bot doesn't have the MANAGE_EMOJIS_AND_STICKERS permission.
-
-
-
-
-
- Gets the guild the sticker was created in.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a general sticker received over the gateway.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents an unknown sticker received over the gateway.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Attempts to try to find the sticker.
-
-
- The sticker representing this unknown stickers Id, if none is found then .
-
-
-
-
- Represents a WebSocket-based group user.
-
-
-
-
- Gets the group channel of the user.
-
-
- A representing the channel of which the user belongs to.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based guild user.
-
-
-
-
- Gets the guild the user is in.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns a collection of roles that the user possesses.
-
-
-
-
- Returns the voice channel the user is in, or if none.
-
-
-
-
-
-
-
- Gets the voice connection status of the user if any.
-
-
- A representing the user's voice status; if the user is not
- connected to a voice channel.
-
-
-
-
-
-
-
-
-
-
- Returns the position of the user within the role hierarchy.
-
-
- The returned value equal to the position of the highest role the user has, or
- if user is the server owner.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the WebSocket user's presence status. This may include their online status and their activity.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates a new containing all of the client types
- where a user is active from the data supplied in the Presence update frame.
-
-
- A dictionary keyed by the
- and where the value is the .
-
-
- A collection of all s that this user is active.
-
-
-
-
- Creates a new containing all the activities
- that a user has from the data supplied in the Presence update frame.
-
-
- A list of .
-
-
- A list of all that this user currently has available.
-
-
-
-
- Gets the status of the user.
-
-
- A string that resolves to .
-
-
-
-
- Represents the logged-in WebSocket-based user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a thread user received over the gateway.
-
-
-
-
- Gets the this user is in.
-
-
-
-
-
-
-
- Gets the guild this user is in.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the guild user of this thread user.
-
-
-
-
-
- Represents a WebSocket-based user that is yet to be recognized by the client.
-
-
- A user may not be recognized due to the user missing from the cache or failed to be recognized properly.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This field is not supported for an unknown user.
-
-
-
- Represents a WebSocket-based user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets mutual guilds shared with this user.
-
-
- This property will only include guilds in the same .
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the full name of the user (e.g. Example#0001).
-
-
- The full name of the user.
-
-
-
-
- Represents a WebSocket user's voice connection status.
-
-
-
-
- Initializes a default with everything set to or .
-
-
-
-
- Gets the voice channel that the user is currently in; or if none.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the name of this voice channel.
-
-
- A string that resolves to name of this voice channel; otherwise "Unknown".
-
-
-
-
-
-
-
- Represents a WebSocket-based webhook user.
-
-
-
- Gets the guild of this webhook.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Webhook users cannot be kicked.
-
-
-
- Webhook users cannot be modified.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Roles are not supported on webhook users.
-
-
-
- Timeouts are not supported on webhook users.
-
-
-
- Timeouts are not supported on webhook users.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a WebSocket-based voice server.
-
-
-
-
- Gets the guild associated with the voice server.
-
-
- A cached entity of the guild.
-
-
-
-
- Gets the endpoint URL of the voice server host.
-
-
- An URL representing the voice server host.
-
-
-
-
- Gets the voice connection token.
-
-
- A voice connection token.
-
-
-
-
- The exception thrown when the gateway client has been requested to reconnect.
-
-
-
-
- Initializes a new instance of the class with the reconnection
- message.
-
- The reason why the gateway has been requested to reconnect.
-
-
- Creates a new REST/WebSocket discord client.
-
-
-
-
-
- Wraps another stream with a timed buffer.
-
-
- Reads the payload from an RTP frame
-
-
- Converts Opus to PCM
-
-
- Header received with no payload.
-
-
- Received payload without an RTP header.
-
-
- Converts PCM to Opus
-
-
-
- Sends silent frames to avoid interpolation errors after breaks in data transmission.
-
- A task representing the asynchronous operation of sending a silent frame.
-
-
- Wraps an IAudioClient, sending voice data on write.
-
-
- Reads the payload from an RTP frame
-
-
- The token has had cancellation requested.
- The associated has been disposed.
-
-
- Wraps data in an RTP frame
-
-
-
- Decrypts an RTP frame using libsodium.
-
-
-
-
- Encrypts an RTP frame using libsodium.
-
-
-
- Header received with no payload.
-
-
- Received payload without an RTP header.
- The token has had cancellation requested.
- The associated has been disposed.
-
-
- The sharded variant of , which may contain the client, user, guild, channel, and message.
-
-
- Gets the that the command is executed with.
-
-
- Gets the shard ID of the command context.
-
-
-
-
-
-
- Represents a WebSocket-based context of a command. This may include the client, guild, channel, user, and message.
-
-
-
-
- Gets the that the command is executed with.
-
-
-
-
- Gets the that the command is executed in.
-
-
-
-
- Gets the that the command is executed in.
-
-
-
-
- Gets the who executed the command.
-
-
-
-
- Gets the that the command is interpreted from.
-
-
-
-
- Indicates whether the channel that the command is executed in is a private channel.
-
-
-
-
- Initializes a new class with the provided client and message.
-
- The underlying client.
- The underlying message.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The sharded variant of .
-
-
-
-
- Gets the that the command will be executed with.
-
-
-
-
- Initializes a .
-
- The underlying client.
- The underlying interaction.
-
-
-
- The sharded variant of .
-
-
-
-
- Initializes a .
-
- The underlying client.
- The underlying interaction.
-
-
-
- Represents a Web-Socket based context of an .
-
-
-
-
- Gets the that the command will be executed with.
-
-
-
-
- Gets the the command originated from.
-
-
- Will be null if the command is from a DM Channel.
-
-
-
-
- Gets the the command originated from.
-
-
-
-
- Gets the who executed the command.
-
-
-
-
- Gets the the command was received with.
-
-
-
-
-
-
-
- Initializes a new .
-
- The underlying client.
- The underlying interaction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a Web-Socket based context of an
-
-
-
-
- Initializes a new
-
- The underlying client
- The underlying interaction
-
-
- The default WebSocketProvider is not supported on this platform.
-
-
-