Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Dante #35

Open
wants to merge 2 commits into
base: sql-extended
Choose a base branch
from
Open

Dante #35

wants to merge 2 commits into from

Conversation

Daffa06
Copy link

@Daffa06 Daffa06 commented Sep 15, 2020

Cuman edit modul afk.py sama stickers.py

Comment on lines -74 to 82
await afk_e.edit(f"Going AFK!\
await afk_e.edit(f"Into The Silence!\
\nReason: `{string}`")
else:
await afk_e.edit("Going AFK!")
await afk_e.edit("Into The Silence!")
if BOTLOG:
await afk_e.client.send_message(BOTLOG_CHATID, "#AFK\nYou went AFK!")
await afk_e.client.send_message(BOTLOG_CHATID, "#AFK\nYou go to the Silence!")
ISAFK = True
afk_time = datetime.now() # pylint:disable=E0602
raise StopPropagation
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ganti`

Comment on lines 97 to 103
afk_end = back_alive.replace(microsecond=0)
if ISAFK:
ISAFK = False
msg = await notafk.respond("I'm no longer AFK.")
msg = await notafk.respond("Coming back from Silence!")
time.sleep(3)
await msg.delete()
if BOTLOG:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ganti

Comment on lines 163 to 169
afk_since = f"`{int(seconds)}s` ago"
if mention.sender_id not in USERS:
if AFKREASON:
await mention.reply(f"I'm AFK since {afk_since}.\
await mention.reply(f"I'm not active right now {afk_since}.\
\nReason: `{AFKREASON}`")
else:
await mention.reply(str(choice(AFKSTR)))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ganti

Comment on lines 172 to 178
elif mention.sender_id in USERS:
if USERS[mention.sender_id] % randint(2, 4) == 0:
if AFKREASON:
await mention.reply(f"I'm still AFK since {afk_since}.\
await mention.reply(f"I'm still not active right now {afk_since}.\
\nReason: `{AFKREASON}`")
else:
await mention.reply(str(choice(AFKSTR)))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ganti

@tomiprs0x
Copy link
Contributor

This you need . Not Ours

@MoveAngel MoveAngel force-pushed the sql-extended branch 2 times, most recently from fa84b2a to c9701da Compare December 9, 2020 07:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants