Compare commits
No commits in common. "7935ea451107d4d05e0747faac14ca3d2cae2842" and "9b6cf3bd059b15fba01bd654a84fa747bc7c36ee" have entirely different histories.
7935ea4511
...
9b6cf3bd05
10
README.md
10
README.md
@ -28,11 +28,11 @@ from dpy_logger import DPYLogger
|
||||
|
||||
bot.log = DPYLogger(
|
||||
bot, guild_id, channel_id,
|
||||
colors=cfg.log_colors, # optional; merged over sensible defaults
|
||||
pings=cfg.authorized_devs, # mentioned on critical()
|
||||
timezone=cfg.timezone,
|
||||
footer=cfg.bot_footer,
|
||||
avatar=cfg.bot_avatar,
|
||||
colors=log_colors, # optional; merged over sensible defaults
|
||||
pings=authorized_devs, # mentioned on critical()
|
||||
timezone=tz,
|
||||
footer=bot_footer,
|
||||
avatar=bot_avatar,
|
||||
)
|
||||
await bot.log.initialize() # resolves ids -> objects, call once
|
||||
|
||||
|
||||
@ -12,11 +12,11 @@ command that mutates bot.settings changes routing without a restart.
|
||||
|
||||
bot.log = DPYLogger(
|
||||
bot, guild_id, channel_id,
|
||||
colors=cfg.log_colors, # optional, falls back to defaults
|
||||
pings=cfg.authorized_devs, # mentioned on critical()
|
||||
timezone=cfg.timezone,
|
||||
footer=cfg.bot_footer,
|
||||
avatar=cfg.bot_avatar,
|
||||
colors=log_colors, # optional, falls back to defaults
|
||||
pings=authorized_devs, # mentioned on critical()
|
||||
timezone=tz,
|
||||
footer=bot_footer,
|
||||
avatar=bot_avatar,
|
||||
)
|
||||
await bot.log.initialize() # resolves ids -> objects
|
||||
await bot.log.success("user promoted", action="promote", actor=ctx.author)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user