ReferenceCommands
Logging commands
Every Logging command in Dexy: usage, arguments, examples, the permission it needs and its cooldown.
Event logs: message edits and deletes, joins and leaves, bans, role, channel and voice changes, each to its own channel.
Part of the Logging module (off by default; turning modules on and off). How it all fits together: Logging. 🔒 commands need the permission shown, Administrator or the server's Dexy admin role (permissions).
/d!logs#
Show the event logs: where each category and event posts, what's off and what's ignored.
/logs
d!logs
d!logs
See it in DiscordFluxer
d!logsevery log category and its channel at a glance
/d!logs avatars#
Show members' avatars on join and leave logs, or not.
/logs avatars <value>
d!logs avatars <value>
d!logs avatars <value>
See it in DiscordFluxer
- valueneeded
onoroff. On by default.
d!logs avatars offjoin and leave logs without avatars
/d!logs events#
List every event you can log, by category, with its name for the other commands and where it posts.
/logs events
d!logs events
d!logs events
See it in DiscordFluxer
d!logs eventsall events and where each one goes
/d!logs ignore#
Show what the logs leave out: channels, roles, members and bots.
/logs ignore
d!logs ignore
d!logs ignore
See it in DiscordFluxer
d!logs ignorethe ignore lists
/d!logs ignore add#
Leave a channel (or a whole category), a role's messages or a member out of the logs.
A channel: nothing that happens in it. A role: its members' deleted and edited messages. Bans, unbans and kicks are always logged.
/logs ignore add <target>
d!logs ignore add <target>
d!logs ignore add <target>
See it in DiscordFluxer
- targetneeded
- A channel, role or member: a mention or an ID.
d!logs ignore add #bot-spamnothing from #bot-spam is loggedd!logs ignore add @ModsMods' deleted and edited messages aren't logged
/d!logs ignore bots#
Leave bots' messages and voice out of the logs, or log them. On by default.
/logs ignore bots <value>
d!logs ignore bots <value>
d!logs ignore bots <value>
See it in DiscordFluxer
- valueneeded
on(bots are left out) oroff(bots are logged).
d!logs ignore bots offbots' edits, deletes and voice are logged too
/d!logs ignore remove#
Log a channel, role or member again.
/logs ignore remove <target>
d!logs ignore remove <target>
d!logs ignore remove <target>
See it in DiscordFluxer
- targetneeded
- A channel, role or member: a mention or an ID.
d!logs ignore remove #bot-spam#bot-spam is logged again
/d!logs leaveroles#
Show the roles a member had on leave logs, or not.
/logs leaveroles <value>
d!logs leaveroles <value>
d!logs leaveroles <value>
See it in DiscordFluxer
- valueneeded
onoroff. On by default.
d!logs leaveroles offleave logs without the member's roles
/d!logs newaccount#
Flag joins from accounts younger than this many days with ⚠️ in the join log.
/logs newaccount <days>
d!logs newaccount <days>
d!logs newaccount <days>
See it in DiscordFluxer
- daysneeded
- 0 to 365 (0 = never flag). 7 by default.
d!logs newaccount 14accounts under two weeks old are flagged
/d!logs off#
Stop logging one event, a category or everything.
Off for a category or all forgets the channels; off for one event keeps its channel for logs on.
/logs off <target>
d!logs off <target>
d!logs off <target>
See it in DiscordFluxer
- targetneeded
- An event (see
logs events), a category orall.
d!logs off member_avataravatar changes aren't postedd!logs off voiceno more voice logsd!logs off allturns every log off
/d!logs on#
Log again an event (or a category's events) that was turned off; it uses the channel it has.
/logs on <target>
d!logs on <target>
d!logs on <target>
See it in DiscordFluxer
- targetneeded
- An event, a category or
all.
d!logs on member_avataravatar changes are posted again
/d!logs perevent#
Give each event its own channel, or send every event to its category's channel.
Events without a channel of their own use their category's. Turning it off keeps their channels for later.
/logs perevent <value>
d!logs perevent <value>
d!logs perevent <value>
See it in DiscordFluxer
- valueneeded
onoroff. Off by default.
d!logs perevent onevents can have their own channels
/d!logs set#
Pick the channel for a category of events, for one event, or for everything.
An event's own channel turns on a channel for each event. all sends every category to one channel and clears events' own channels. Dexy posts through a webhook named Dexy Logs that it makes in the channel right away, so it needs Manage Webhooks there; the answer says so when it can't make one.
/logs set <target> <channel>
d!logs set <target> <channel>
d!logs set <target> <channel>
See it in DiscordFluxer
- targetneeded
- A category (
messages,members,roles,channels,emojis,voice,server), an event (seelogs events) orall. - channelneeded
- A text channel (mention or ID).
d!logs set messages #message-logevery message event goes to #message-logd!logs set member_join #welcome-logjoins get their own channeld!logs set all #server-logeverything goes to #server-log
/d!logs test#
Post a sample entry in a category's log channels, to check that Dexy can post there.
A channel whose webhook Dexy couldn't make is tried again right away, and the answer says why it can't post.
/logs test [category]
d!logs test [category]
d!logs test [category]
See it in DiscordFluxer
- categoryoptional
messages,members,roles,channels,emojis,voice,serverorall(the default).
d!logs testa sample entry in every log channeld!logs test voicea sample entry in the voice log