Skip to content

Commit

Permalink
fix 3
Browse files Browse the repository at this point in the history
- small changes
  • Loading branch information
Shinyhunter2109 authored Jul 26, 2024
1 parent 0fe854e commit bbcb8b1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Discord-Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@



TOKEN = 'INSERT YOUR TOKEN HERE...' # <---- Bot Token goes here ! #
TOKEN = 'INSERT YOUR TOKEN HERE...' # <---- Your Bot Token goes here ! #

logger = logging.getLogger('discord')
logger.setLevel(logging.DEBUG)
Expand All @@ -75,7 +75,7 @@
ROLE = 'Member' # Standard Role can be edited if needed ! #

def setprefix():
with open("prefix.txt") as f: # (can be changed but totally optional)
with open("prefix.txt") as f: # (optional)
return "\n".join(f.readlines())


Expand Down Expand Up @@ -112,6 +112,7 @@ async def on_ready():


# ====================== ITEM STORAGE VARIABLES ============================== #

RemovedFromBot = RemovedFromBot = 'This Command has been Removed!'
Added2Item = Added2Item = 'This Command has been recently added!'
NewItem = NewItem = 'This Command is new!'
Expand Down Expand Up @@ -139,6 +140,7 @@ async def on_ready():
Server_Status3 = Server_Status3 = 'Maintenance'
Server_Status4 = Server_Status4 = 'Closed'
Server_Status5 = Server_Status5 = 'No Connection to Host'
Support_End = Support_End = 'The Support Circle for the Program has ended'
TWWA = TWWA = 'Offline'
TWWB = TWWB = 'Live'
CataCB = CataCB = 'Live'
Expand Down Expand Up @@ -1271,7 +1273,7 @@ async def ga_error(ctx, error):
await ctx.send('**You dont have the right Permissions to execute this command.**')


password = '3732703425'
password = '000000000' # insert numeric password here !

@client.command()
@has_permissions(manage_roles=True, ban_members=True)
Expand Down Expand Up @@ -1324,7 +1326,7 @@ async def change_status():
await client.change_presence(activity=discord.Game(next(status)))


password = '642751'
password = '1111111' # insert numeric password here !


@client.command()
Expand All @@ -1339,7 +1341,7 @@ async def kick(ctx, member : discord.Member, *,password_check=None):
await member.kick()


password = '7391732'
password = '2222222' # insert numeric password here !


@client.command()
Expand Down Expand Up @@ -2086,7 +2088,7 @@ async def clear_error(ctx, error):



# Movesets PKMN # More Content Coming in Patch 8.x #
# Movesets PKMN # More Content Coming in Patch 8.5 #

@client.command()
async def Abomasnow(ctx):
Expand Down Expand Up @@ -2302,7 +2304,9 @@ async def Giratina(ctx):
# Movesets PKMN End #


# Slash #
# Slash Commands #

# Please not this will only work with Version 3.0.3 #

@slash.slash(name="ping", guild_ids=guild_ids)
async def _ping(ctx):
Expand Down

0 comments on commit bbcb8b1

Please sign in to comment.