Skip to content

Commit

Permalink
changed the name to something reasonable
Browse files Browse the repository at this point in the history
  • Loading branch information
fadiatamny committed May 3, 2020
1 parent d8d425e commit 033736e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

## Our Cogs:
- [WelcomeCog](./welcomeCog)
- [TrafficTrackerCog](./trafficTrackerCog)
- [TrafficCog](./trafficCog)
12 changes: 6 additions & 6 deletions trafficTrackerCog/README.md → trafficCog/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TrafficTrackerCog
# TrafficCog
This is the Kanium community/guild welcome cog. monitors the server for activity and logs them to a specific channel using the specific commands.

# How to use:
Expand All @@ -12,14 +12,14 @@ In order to use our cog you would need to install it onto your instance of [RedB

## How to install & load:
1. `[PREFIX]repo add [RepoName] https://github.com/Kanium/KaniumCogs [ActiveBranch (EX: Master)] `
2. `[PREFIX]cog install [RepoName] trafficTrackerCog`
3. `[PREFIX]load trafficTrackerCog`
2. `[PREFIX]cog install [RepoName] trafficCog`
3. `[PREFIX]load trafficCog`

### To update the Cog:
- `[PREFIX]cog uninstall trafficTrackerCog`
- `[PREFIX]cog uninstall trafficCog`
- `[PREFIX]repo update [RepoName]`
- `[PREFIX]cog install [RepoName] trafficTrackerCog`
- `[PREFIX]load trafficTrackerCog`
- `[PREFIX]cog install [RepoName] trafficCog`
- `[PREFIX]load trafficCog`

### Commands
- `[PREFIX]settrafficchannel` - allows you to select a channel in your discord to dump logs to
Expand Down
5 changes: 5 additions & 0 deletions trafficCog/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .trafficCog import TrafficCog
from redbot.core.bot import Red

def setup(bot: Red):
bot.add_cog(TrafficCog(bot))
2 changes: 1 addition & 1 deletion trafficTrackerCog/info.json → trafficCog/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Deathblade"
],
"install_msg": "May Kanium broaden your horizons",
"name": "TrafficTracker",
"name": "TrafficCog",
"short": "Tracks daily activity on the server",
"description": "Tracks incoming and outgoing member activity on the server with daily resets",
"requirements": ["datetime"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
admin_roles = {'Developer', 'admin', 'Council'}
statsThumbnailUrl = 'https://www.kanium.org/machineroom/logomachine-small.png'

class TrafficTracker(commands.Cog):
class TrafficCog(commands.Cog):

def __init__(self, bot):
self.channel: discord.TextChannel = None
Expand Down
5 changes: 0 additions & 5 deletions trafficTrackerCog/__init__.py

This file was deleted.

0 comments on commit 033736e

Please sign in to comment.