|
|
@ -13,7 +13,11 @@ class Extension: |
|
|
|
minutes: int = 0 |
|
|
|
): |
|
|
|
await interaction.response.defer(thinking=True) |
|
|
|
return await interaction.followup.send(f'{await self.__call__(profile, reason, minutes, interaction.user)}', ephemeral=False) |
|
|
|
await interaction.followup.send(f'{await self.__call__(profile, reason, minutes, interaction.user)}', ephemeral=False) |
|
|
|
try: |
|
|
|
await self.core.loaded_extensions["ban_roles"].updater() |
|
|
|
except: |
|
|
|
print("Cannot update ban roles on main server") |
|
|
|
|
|
|
|
async def __call__(self, profile, reason, minutes, discord_user): |
|
|
|
steam64 = await self.core.GetSteam64OfDiscord(discord_user) |
|
|
|