From 5da3eb1df8396b9ea2961a5ebe1d64f5d5c8e0b8 Mon Sep 17 00:00:00 2001 From: ziro Date: Wed, 5 Aug 2020 13:12:01 +0700 Subject: + Renaming --- cogs/util.py | 15 --------------- cogs/utils.py | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 cogs/util.py create mode 100644 cogs/utils.py (limited to 'cogs') diff --git a/cogs/util.py b/cogs/util.py deleted file mode 100644 index 3b87d0b..0000000 --- a/cogs/util.py +++ /dev/null @@ -1,15 +0,0 @@ -from discord.ext import commands -import discord -import asyncio - -class Util(commands.Cog): - def __init__(self, bot): - self.bot = bot - - @commands.command() - async def ping(self, ctx): - await ctx.send(f'Pong! {round(self.bot.latency*1000)}ms') - -def setup(bot): - bot.add_cog(Util(bot)) - diff --git a/cogs/utils.py b/cogs/utils.py new file mode 100644 index 0000000..ac7ec95 --- /dev/null +++ b/cogs/utils.py @@ -0,0 +1,15 @@ +from discord.ext import commands +import discord +import asyncio + +class Utils(commands.Cog): + def __init__(self, bot): + self.bot = bot + + @commands.command() + async def ping(self, ctx): + await ctx.send(f'Pong! {round(self.bot.latency*1000)}ms') + +def setup(bot): + bot.add_cog(Utils(bot)) + -- cgit v1.2.3