fixed new_guild_generation being called improperly
This commit is contained in:
parent
3af564f9cd
commit
78ce22aa72
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class SugonCredit(commands.Cog):
|
|||
target = user if user else ctx.author
|
||||
con = sqlite3.connect(self.data_path)
|
||||
cur = con.cursor()
|
||||
await self.new_guild_generation({ctx.guild.id})
|
||||
await self.new_guild_generation(self, ctx.guild.id)
|
||||
bank_name = await self.config.guild(ctx.guild).get_raw('bank_name', default="Bank")
|
||||
currency_name = await self.config.guild(ctx.guild).get_raw('currency_name', default="Credit")
|
||||
cur.execute(f"SELECT user_id FROM {ctx.guild.id} WHERE user_id = ?;", (target.id,))
|
||||
|
|
Loading…
Reference in a new issue