DiscordLogger class
Constructors
- DiscordLogger({required String channelId, required String botToken})
-
factory
Properties
Methods
-
deleteChannelMessage(
{required String messageId}) → Future -
delete a
message
of specificchannel
-
getChannelMessages(
) → Future -
get
messages
of specificchannels
-
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 specificchannel
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DiscordLogger
-
no setter