Class DiscordScheduledEvent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents an scheduled event.
public class DiscordScheduledEvent : SnowflakeObject, IEquatable<DiscordScheduledEvent>
- Inheritance
-
DiscordScheduledEvent
- Implements
- Inherited Members
Properties
- Channel
Gets the associated channel.
- ChannelId
Gets id of the associated channel id.
- CoverImageHash
Gets this event's cover hash, when applicable.
- CoverImageUrl
Gets this event's cover in url form.
- Creator
Gets the user that created the scheduled event.
- CreatorId
Gets the ID of the user that created the scheduled event.
- CreatorMember
Gets the member that created the scheduled event.
- Description
Gets the description of the scheduled event.
- EntityId
Gets id of the entity.
- EntityMetadata
Gets metadata of the entity.
- EntityType
Gets the entity type.
- Guild
Gets the guild to which this scheduled event belongs.
- GuildId
Gets the guild id of the associated scheduled event.
- Name
Gets the name of the scheduled event.
- ScheduledEndTime
Gets the scheduled end time of the scheduled event.
- ScheduledStartTime
Gets the scheduled start time of the scheduled event.
- Status
Gets the status of the scheduled event.
- UserCount
Gets the total number of users subscribed to the scheduled event.
Methods
- CancelAsync(string)
Cancels the current scheduled event.
- DeleteAsync(string)
Deletes a scheduled event.
- EndAsync(string)
Ends the current scheduled event.
- Equals(DiscordScheduledEvent)
Checks whether this DiscordScheduledEvent is equal to another DiscordScheduledEvent.
- Equals(object)
Checks whether this DiscordScheduledEvent is equal to another object.
- GetHashCode()
Gets the hash code for this DiscordScheduledEvent.
- GetUsersAsync(int?, ulong?, ulong?, bool?)
Gets a list of users RSVP'd to the scheduled event.
- ModifyAsync(Action<ScheduledEventEditModel>)
Modifies the current scheduled event.
- StartAsync(string)
Starts the current scheduled event.
Operators
- operator ==(DiscordScheduledEvent, DiscordScheduledEvent)
Gets whether the two DiscordScheduledEvent objects are equal.
- operator !=(DiscordScheduledEvent, DiscordScheduledEvent)
Gets whether the two DiscordScheduledEvent objects are not equal.