Skip to content

Commit

Permalink
<s>Added support for custom emojis in the ticket command.</s
Browse files Browse the repository at this point in the history
  • Loading branch information
nottherealtar committed Jan 31, 2024
1 parent 0673da7 commit 704f130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freshtechafrica/freshtechafrica.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#

import discord
from redbot.core import commands, data_manager
from redbot.core import commands, Config
from redbot.core.utils.menus import menu, DEFAULT_CONTROLS
import requests
import json
Expand Down Expand Up @@ -117,7 +117,7 @@ def __init__(self, bot):
self.bot = bot
self.freshdesk_domain = "your-freshdesk-domain.freshdesk.com"
self.freshdesk_prefix = "/api/v2"
self.config = data_manager.get_config("FreshdeskCog")
self.config = Config.get_conf(self, identifier=1234567890) # Change the identifier as needed

async def get_api_key(self):
return await self.config.api_key()
Expand Down

0 comments on commit 704f130

Please sign in to comment.