mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-04-26 16:42:11 +12:00
add new graphing and analyses
This commit is contained in:
parent
c7569f1979
commit
97e2ff9253
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,13 @@
|
|||
"description": "Log messages, dms, attachments, guild updates (roles, channels, bans, kicks etc) and be able to retrieve these logs for review. Saves these right to disk and customize then to rotate log files. Tracks user's stats; how many messages they send, how many are bot commands, time spent in VC, and moderator actions against them. Also provides an upgraded userinfo command that gives these stats alongside the information Red's userinfo command gives. This is rewritten from @calebj's V2 cog.",
|
||||
"hidden": false,
|
||||
"install_msg": "Thank you for using this cog! Make sure to set bot prefixes using [p]logset prefixes for proper stat logging.",
|
||||
"requirements": ["python-dateutil", "pytz", "matplotlib", "pandas"],
|
||||
"requirements": [
|
||||
"python-dateutil",
|
||||
"pytz",
|
||||
"matplotlib",
|
||||
"pandas",
|
||||
"networkx"
|
||||
],
|
||||
"short": "Log messages, audit actions, and track user statistics.",
|
||||
"tags": [
|
||||
"brandons209",
|
||||
|
@ -16,4 +22,4 @@
|
|||
],
|
||||
"min_bot_version": "3.4.0",
|
||||
"end_user_data_statement": "Depending on setup, can log user messages, voice channel activity, audit actions in guilds, activity statistics per guild, user name changes, and any moderation actions per guild."
|
||||
}
|
||||
}
|
|
@ -340,7 +340,8 @@ class NameChange(commands.Cog):
|
|||
currency_name = await bank.get_currency_name(ctx.guild)
|
||||
|
||||
await ctx.send(
|
||||
info(f"It costs {current_cost} {currency_name} **per minute** to change someone's name."), delete_after=30,
|
||||
info(f"It costs {current_cost} {currency_name} **per minute** to change someone's name."),
|
||||
delete_after=30,
|
||||
)
|
||||
|
||||
@namechange.command(name="remove")
|
||||
|
@ -394,4 +395,3 @@ class NameChange(commands.Cog):
|
|||
current = await self.config.guild(before.guild).current_changes()
|
||||
if str(before.id) in current and current[str(before.id)]["new_nick"] != after.nick:
|
||||
await self.change_nickname(after, current[str(before.id)]["new_nick"])
|
||||
|
||||
|
|
7
poker/__init__.py
Normal file
7
poker/__init__.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from .poker import Poker
|
||||
|
||||
__red_end_user_data_statement__ = "This doesn't store any user data."
|
||||
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(Poker(bot))
|
Loading…
Reference in a new issue