cleanup
This commit is contained in:
parent
169c38bc01
commit
2d525513b6
@ -1,6 +1,4 @@
|
|||||||
from .sacrifice import SacrificeCog
|
from .sacrifice import SacrificeCog
|
||||||
import asyncio
|
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
n = SacrificeCog(bot)
|
n = SacrificeCog(bot)
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
from redbot.core import commands
|
from redbot.core import commands
|
||||||
from redbot.core import Config, checks
|
from redbot.core import Config, checks
|
||||||
import discord
|
import discord
|
||||||
@ -135,8 +134,6 @@ class SacrificeCog(commands.Cog):
|
|||||||
async def save_elo(self, scores: dict) -> None:
|
async def save_elo(self, scores: dict) -> None:
|
||||||
elos = await self.config.elo()
|
elos = await self.config.elo()
|
||||||
elos.update(scores)
|
elos.update(scores)
|
||||||
print(scores)
|
|
||||||
print(elos)
|
|
||||||
await self.config.elo.set(elos)
|
await self.config.elo.set(elos)
|
||||||
|
|
||||||
async def get_elo(self, discord_id: str) -> int:
|
async def get_elo(self, discord_id: str) -> int:
|
||||||
|
Loading…
Reference in New Issue
Block a user