Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noxiousxmanagment #6

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion Exon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_user_list(__init__, key):
ALLOW_EXCL = True
TEMP_DOWNLOAD_DIRECTORY = "./Downloads"
REM_BG_API_KEY = "LSdLgCceYz8vNqFgJVzrkDgR"
SPAMWATCH_SUPPORT_CHAT = "@AbishnoiMF"
SPAMWATCH_SUPPORT_CHAT = "@Noxiousbgmistore"
SPAMWATCH_API = Config.SPAMWATCH_API
ALLOW_CHATS = True
ARQ_API_URL = "http://arq.hamker.in"
Expand Down
4 changes: 2 additions & 2 deletions Exon/langs/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ antiflood_help: |
•➥ /antispam <on/off/yes/no>: ᴡɪʟʟ ᴛᴏɢɢʟᴇ ᴏᴜʀ ᴀɴᴛɪsᴘᴀᴍ ᴛᴇᴄʜ ᴏʀ ʀᴇᴛᴜʀɴ ʏᴏᴜʀ ᴄᴜʀʀᴇɴᴛ sᴇᴛᴛɪɴɢs.
ᴀɴᴛɪ-sᴘᴀᴍ, ᴜsᴇᴅ ʙʏ ʙᴏᴛ ᴅᴇᴠs ᴛᴏ ʙᴀɴ sᴘᴀᴍᴍᴇʀs ᴀᴄʀᴏss ᴀʟʟ ɢʀᴏᴜᴘs. ᴛʜɪs ʜᴇʟᴘs ᴘʀᴏᴛᴇᴄᴛ
ʏᴏᴜ ᴀɴᴅ ʏᴏᴜʀ ɢʀᴏᴜᴘs ʙʏ ʀᴇᴍᴏᴠɪɴɢ sᴘᴀᴍ ғʟᴏᴏᴅᴇʀs ᴀs ǫᴜɪᴄᴋʟʏ ᴀs ᴘᴏssɪʙʟᴇ
ɴᴏᴛᴇ: ᴜsᴇʀs ᴄᴀɴ ᴀᴘᴘᴇᴀʟ ɢʙᴀɴs ᴏʀ ʀᴇᴘᴏʀᴛ sᴘᴀᴍᴍᴇʀs ᴀᴛ @AbishnoiMF
ɴᴏᴛᴇ: ᴜsᴇʀs ᴄᴀɴ ᴀᴘᴘᴇᴀʟ ɢʙᴀɴs ᴏʀ ʀᴇᴘᴏʀᴛ sᴘᴀᴍᴍᴇʀs ᴀᴛ @Noxiousbgmistore
•➥ /flood: ɢᴇᴛ ᴛʜᴇ ᴄᴜʀʀᴇɴᴛ ᴀɴᴛɪғʟᴏᴏᴅ sᴇᴛᴛɪɴɢs
•➥ /setflood <number/off/no>: sᴇᴛ ᴛʜᴇ ɴᴜᴍʙᴇʀ ᴏғ ᴍᴇssᴀɢᴇs ᴀғᴛᴇʀ ᴡʜɪᴄʜ ᴛᴏ ᴛᴀᴋᴇ ᴀᴄᴛɪᴏɴ ᴏɴ ᴀ ᴜsᴇʀ. sᴇᴛ ᴛᴏ '0', 'off', or 'no' ᴛᴏ ᴅɪsᴀʙʟᴇ.
•➥ /setfloodmode <ᴀᴄᴛɪᴏɴ ᴛʏᴘᴇ>: ᴄʜᴏᴏsᴇ ᴡʜɪᴄʜ ᴀᴄᴛɪᴏɴ ᴛᴏ ᴛᴀᴋᴇ ᴏɴ ᴀ ᴜsᴇʀ ᴡʜᴏ ʜᴀs ʙᴇᴇɴ ғʟᴏᴏᴅɪɴɢ. ᴏᴘᴛɪᴏɴs: ban/kick/mute/tban/tmute.
Expand All @@ -106,7 +106,7 @@ antispam_help: |
ᴀɴᴛɪ-sᴘᴀᴍ, ᴜsᴇᴅ ʙʏ ʙᴏᴛ ᴅᴇᴠs ᴛᴏ ʙᴀɴ sᴘᴀᴍᴍᴇʀs ᴀᴄʀᴏss ᴀʟʟ ɢʀᴏᴜᴘs. ᴛʜɪs ʜᴇʟᴘs ᴘʀᴏᴛᴇᴄᴛ \
ʏᴏᴜ ᴀɴᴅ ʏᴏᴜʀ ɢʀᴏᴜᴘs ʙʏ ʀᴇᴍᴏᴠɪɴɢ sᴘᴀᴍ ғʟᴏᴏᴅᴇʀs ᴀs ǫᴜɪᴄᴋʟʏ ᴀs ᴘᴏssɪʙʟᴇ

ɴᴏᴛᴇ: ᴜsᴇʀs ᴄᴀɴ ᴀᴘᴘᴇᴀʟ ɢʙᴀɴs ᴏʀ ʀᴇᴘᴏʀᴛ sᴘᴀᴍᴍᴇʀs ᴀᴛ @AbishnoiMF
ɴᴏᴛᴇ: ᴜsᴇʀs ᴄᴀɴ ᴀᴘᴘᴇᴀʟ ɢʙᴀɴs ᴏʀ ʀᴇᴘᴏʀᴛ sᴘᴀᴍᴍᴇʀs ᴀᴛ @Noxiousbgmistore


backup_help: |
Expand Down
6 changes: 3 additions & 3 deletions Exon/modules/Callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def ABG_about_callback(update, context):
text="sᴜᴘᴘᴏʀᴛ", url=f"t.me/{SUPPORT_CHAT}"
),
InlineKeyboardButton(
text="ᴜᴘᴅᴀᴛᴇs", url="https://t.me/beta_botz"
text="ᴜᴘᴅᴀᴛᴇs", url="https://t.me/noxiousbgmistore"
),
],
[
Expand Down Expand Up @@ -188,7 +188,7 @@ def ABG_about_callback(update, context):
],
[
InlineKeyboardButton(
text="ᴊᴇᴏʟ", url="https://t.me/about_jeol"
text="NOXIOUS", url="https://t.me/aboutnoxi"
),
InlineKeyboardButton(
text="ᴄʜᴀᴛ", url=f"https://t.me/{SUPPORT_CHAT}"
Expand All @@ -213,7 +213,7 @@ def Source_about_callback(update, context):
[ᴩʏᴛʜᴏɴ-ᴛᴇʟᴇɢʀᴀᴍ-ʙᴏᴛ](https://github.com/python-telegram-bot/python-telegram-bot)
ᴀɴᴅ ᴜsɪɴɢ [sǫʟᴀʟᴄʜᴇᴍʏ](https://www.sqlalchemy.org) ᴀɴᴅ [ᴍᴏɴɢᴏ](https://cloud.mongodb.com) ᴀs ᴅᴀᴛᴀʙᴀsᴇ.

*ʜᴇʀᴇ ɪs ᴍʏ sᴏᴜʀᴄᴇ ᴄᴏᴅᴇ :* [{BOT_NAME}](https://github.com/itz-jeol/ROCKY)
*ʜᴇʀᴇ ɪs ᴍʏ sᴏᴜʀᴄᴇ ᴄᴏᴅᴇ :* [{BOT_NAME}](https://t.me/@noxiousbgmistore)


ᴇxᴏɴ ʀᴏʙᴏᴛ ɪs ʟɪᴄᴇɴsᴇᴅ ᴜɴᴅᴇʀ ᴛʜᴇ ᴍɪᴛ ʟɪᴄᴇɴsᴇ.
Expand Down
2 changes: 1 addition & 1 deletion Exon/modules/uall.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from Exon import LOGGER
from Exon.events import register

CMD_HELP = "/ !"
CMD_HELP = "/ . !"


# ================================================
Expand Down
2 changes: 1 addition & 1 deletion Exon/modules/ubot.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def lastname(steal):
r = await conv.get_response()
response = await conv.get_response()
except YouBlockedUserError:
await steal.reply("```Error, report to @AbishnoiMF```")
await steal.reply("```Error, report to @Noxiousbgmistore```")
return
if r.text.startswith("Name"):
respond = await conv.get_response()
Expand Down
12 changes: 6 additions & 6 deletions Exon/modules/userinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def info(update: Update, context: CallbackContext):
if spamwtc:
text += "\n\n<b>ᴛʜɪs ᴘᴇʀsᴏɴ ɪs sᴘᴀᴍᴡᴀᴛᴄʜᴇᴅ!</b>"
text += f"\nʀᴇᴀꜱᴏɴ: <pre>{spamwtc.reason}</pre>"
text += "\nᴀᴘᴘᴇᴀʟ ᴀᴛ @AbishnoiMF"
text += "\nᴀᴘᴘᴇᴀʟ ᴀᴛ @Noxiousxpro"
except:
pass # don't crash if api is down somehow...

Expand Down Expand Up @@ -344,7 +344,7 @@ def info(update: Update, context: CallbackContext):
disaster_level_present = True

if disaster_level_present:
text += ' [<a href="https://t.me/Abishnoi_bots/60">ʟᴇᴠᴇʟʟɪɴɢ</a>]'.format(
text += ' [<a href="https://t.me/NoxiousBgmiStore">ʟᴇᴠᴇʟʟɪɴɢ</a>]'.format(
bot.username,
)

Expand Down Expand Up @@ -381,10 +381,10 @@ def info(update: Update, context: CallbackContext):
[
[
InlineKeyboardButton(
"ʜᴇᴀʟᴛʜ", url="https://t.me/Abishnoi_bots/60"
"ʜᴇᴀʟᴛʜ", url="https://t.me/NoxiousBgmiStore"
),
InlineKeyboardButton(
"ᴅɪsᴀsᴛᴇʀ", url="https://t.me/Abishnoi_bots/60"
"ᴅɪsᴀsᴛᴇʀ", url="https://t.me/NoxiousBgmiStore"
),
],
]
Expand All @@ -401,10 +401,10 @@ def info(update: Update, context: CallbackContext):
[
[
InlineKeyboardButton(
"ʜᴇᴀʟᴛʜ", url="https://t.me/Abishnoi_bots/60"
"ʜᴇᴀʟᴛʜ", url="https://t.me/NoxiousBgmiStore"
),
InlineKeyboardButton(
"ʟᴇᴠᴇʟʟɪɴɢ", url="https://t.me/Abishnoi_bots/60"
"ʟᴇᴠᴇʟʟɪɴɢ", url="https://t.me/NoxiousBgmiStore"
),
],
]
Expand Down
2 changes: 1 addition & 1 deletion Exon/modules/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def new_member(update: Update, context: CallbackContext): # sourcery no-metrics
# Welcome yourself
elif new_mem.id == bot.id:
update.effective_message.reply_text(
"ᴛʜᴀɴᴋꜱ ꜰᴏʀ ᴀᴅᴅɪɴɢ ᴍᴇ! ᴊᴏɪɴ @AbishnoiMF ꜰᴏʀ ꜱᴜᴘᴘᴏʀᴛ.",
"ᴛʜᴀɴᴋꜱ ꜰᴏʀ ᴀᴅᴅɪɴɢ ᴍᴇ! ᴊᴏɪɴ @Noxiousbgmistore ꜰᴏʀ ꜱᴜᴘᴘᴏʀᴛ.",
reply_to_message_id=reply,
)
continue
Expand Down
2 changes: 1 addition & 1 deletion Exon/utils/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_readable_time(seconds: int) -> str:
return ping_time


# Convert seconds to mm:ss @AbishnoiMF
# Convert seconds to mm:ss @Noxiousbgmistore
async def convert_seconds_to_minutes(seconds: int):
seconds = int(seconds)
seconds %= 24 * 3600
Expand Down
8 changes: 4 additions & 4 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class Config(object):
STRING_SESSION = getenv("STRING_SESSION", None)
SPAMWATCH_API = None
TOKEN = getenv("TOKEN", None)
OWNER_ID = int(getenv("OWNER_ID", "5938660179")) # sᴛᴀʀᴛ @Exon_Robot ᴛʏᴘᴇ /id
OWNER_USERNAME = getenv("OWNER_USERNAME", "jeol_tg")
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "beta_support")
LOG_GROUP_ID = int(getenv("LOG_GROUP_ID", "-1001819078701"))
OWNER_ID = int(getenv("OWNER_ID", "5154912723")) # sᴛᴀʀᴛ @Exon_Robot ᴛʏᴘᴇ /id
OWNER_USERNAME = getenv("OWNER_USERNAME", "noxiousxpro")
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "noxiousbgmistore")
LOG_GROUP_ID = int(getenv("LOG_GROUP_ID", "-1002122149322"))
MONGO_URI = getenv("MONGO_DB_URI")
REDIS_URL = "redis://default:wK6ZCiclq4iQKYpgfY90v6kd6WdPfEwl@redis-10186.c263.us-east-1-2.ec2.cloud.redislabs.com:10186/default"
DATABASE_URL = getenv("DATABASE_URL")
Expand Down