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

Add random name selection #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,25 @@ def command_prefix(bot, message):
),
discord.Game("CodeCup"),
]
names = [
"Cleverbot",
"Clever bot",
"Sally/Florence Megan",
"not John Cena",
"Marc Cadyn Nova Bob Tierney Lara Laura Zach Beau Roxanne Scrungus Dalton David Ryan Adriana Harry Potter Silence lovely Destiny Clarissa",
"Ryan turrittin",
"Peter Jent",
"Spencer",
"Maria",
"Dahlia",
"Michael",
"Ally",
"Lucas",
"nie hao kylan lol",
"CARLA",
"Zuri",
"Not a Robot"
]

# Here we load our extensions(cogs) listed above in [initial_extensions].
for cog in initial_cogs:
Expand Down Expand Up @@ -142,6 +161,7 @@ async def on_ready():
for i in bot.guilds:
counter += 1
logging.info(f"We have logged in as {bot.user}")
await i.get_member(bot.user.id).edit(nick=(f"John \"{choice(names)}\" Peter"))
logging.info(f"We are in {counter} server!")


Expand Down