diff --git a/trafficTrackerCog/README.md b/trafficTrackerCog/README.md index 085ebba..fbf3f26 100644 --- a/trafficTrackerCog/README.md +++ b/trafficTrackerCog/README.md @@ -22,7 +22,7 @@ In order to use our cog you would need to install it onto your instance of [RedB - `[PREFIX]load trafficTrackerCog` ### Commands -- `[PREFIX]setchannel` - allows you to select a channel in your discord to dump logs to +- `[PREFIX]settrafficchannel` - allows you to select a channel in your discord to dump logs to - `[PREFIX]stats` - prints the statistics that the cog has gathered. - `[PREFIX]resetstats` - allows for a hard reset of the stats - `[PREFIX]toggleLogs` - Toggles the logs functionality on or off diff --git a/trafficTrackerCog/TrafficTracker.py b/trafficTrackerCog/TrafficTracker.py index 633cd94..35a4667 100644 --- a/trafficTrackerCog/TrafficTracker.py +++ b/trafficTrackerCog/TrafficTracker.py @@ -26,9 +26,9 @@ class TrafficTracker(commands.Cog): self.dailyLeftCount = 0 self.date = datetime.now() - @commands.command(name='setchannel', description='Sets the channel to sends log to') + @commands.command(name='settrafficchannel', description='Sets the channel to sends log to') @commands.has_any_role(*admin_roles) - async def setChannel(self, ctx: commands.Context, channel: discord.TextChannel) -> None: + async def setTrafficChannel(self, ctx: commands.Context, channel: discord.TextChannel) -> None: await ctx.trigger_typing() if not channel in ctx.guild.channels: