DiscordLogger class

Constructors

DiscordLogger({required String channelId, required String botToken})
factory

Properties

botToken String
final
channelId String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteChannelMessage({required String messageId}) Future
delete a message of specific channel
getChannelMessages() Future
get messages of specific channels
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(String message) Future
pass message as string which also returns Future
toString() String
A string representation of this object.
inherited
updateChannelMessage({required String messageId, required String message}) Future
update message of specific channel

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DiscordLogger
no setter