made some changes to file structure
This commit is contained in:
parent
bc439d4bf8
commit
d0822ce4b1
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
import discord
|
||||
from redbot.core import commands, bank, checks
|
||||
from redbot.core import commands, bank, checks, data_manager
|
||||
|
||||
class SugonCredit(commands.Cog):
|
||||
"""Implements a way for moderators to give out social-credit like points, dubbed 'sugoncredits' by the community."""
|
||||
|
@ -80,7 +80,7 @@ class SugonCredit(commands.Cog):
|
|||
except ValueError:
|
||||
await ctx.send(content="``amount`` must be a number. Please try again!")
|
||||
return
|
||||
image = discord.File(fp="remove.mp4", filename="MEGA_BASE")
|
||||
image = discord.File(fp=f"{data_manager.bundled_data_path(SugonCredit)}remove.mp4", filename="MEGA_BASE")
|
||||
bank_name = await bank.get_bank_name(ctx.guild)
|
||||
currency_name = await bank.get_currency_name(ctx.guild)
|
||||
current_bal = await bank.get_balance(target)
|
||||
|
|
Loading…
Reference in a new issue