Skip to content

Commit c79f988

Browse files
authored
Update telefunc.py
1 parent 29a50f9 commit c79f988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethon/telefunc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ async def fast_download(filename, file, bot, event, time, msg):
114114
"""
115115

116116
#Forcesub
117-
async def force_sub(client, channel, id):
117+
async def force_sub(client, channel, id, ft):
118118
s, r = False, None
119119
try:
120120
x = await client(GetParticipantRequest(channel=channel, participant=int(id)))
121121
left = x.stringify()
122122
if 'left' in left:
123-
s, r = True, f"To use this bot you've to join @{channel}.\n\nAlso join @DroneBots"
123+
s, r = True, f"{ft}\n\nAlso join @DroneBots"
124124
else:
125125
s, r = False, None
126126
except UserNotParticipantError:

0 commit comments

Comments
 (0)