Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot.

Overview

OpasiumAI

Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot.

Installing

  • Clone the repository:
git clone https://github.com/DanixGuy/OpasiumAI
cd OpasiumAI
  • Create virtual environment (optional):
python3 -m venv env
env\Scripts\activate
  • Install requirements
pip install -r requirements.txt

Configuration

import os

# Discord bot's token
# Don't share the token with anyone else!

# By default, this will get the token from environment variables but you can specify your token:
# DISCORD_TOKEN = "your token goes here"
DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")

# PostgreSQL connection string
# This bot uses PostgreSQL database to store all giveaways

# Example of PostgreSQL connection:
# POSTGRESQL_CONNECTION_STRING = "postgres://host/dbname?user=username&password=password"

# host - ip address of database
# dbname - name of database to connect to
# username - user's name
# password - user's password

# Don't share the password with anyone else!
POSTGRESQL_CONNECTION_STRING = os.getenv("POSTGRESQL_CONNECTION_STRING")

# Giveaway's reward max length
GIVEAWAY_MAX_REWARD_STRING_LENGTH = 32

# Giveaway check interval
# Every GIVEAWAY_CHECK_INTERVAL seconds all giveaways will be checked if they should end or not
GIVEAWAY_CHECK_INTERVAL = 10

# Bot's status
# Will be displayed as: "Playing /help | Opasium Games"
BOT_STATUS = "/help | Opasium Games"

Prefix

The bot's prefix is /

Commands

Moderation

  • kick (user) (reason) - Kick someone (requires Kick Members permission)
  • ban (user) (reason) - Ban someone (requires Ban Members permission)
  • nick (user) (new nickname) - Change someone's nickname (requires Manage Nicknames permission)
  • say (text) - Say something via the bot
  • purge (limit [optional]) - Delete messages in bulk (requires Manage Messages permission)
  • poll (description) - Make a poll
  • gstart (reward) (time) (winners) - Create a giveaway (requires Manage Messages permission)
  • gend (message id of the giveaway) - End a giveaway (requires Manage Messages permission)

Fun

  • dogpic - Random dog picture
  • flipcoin - Flip a coin
  • dice - Throw a dice
  • avatar (user [optional]) - Get your own or someone else's avatar

Other

  • members - Check how many members there are in current server
  • userinfo (user) - Gather some info about someone
  • ping - Check the bot's ping
Owner
Dan
coding
Dan
This code is for a bot which will find a Twitter user's most tweeted word and tweet that word, tagging said user

max_tweeted_word This code is for a bot which will find a Twitter user's most tweeted word and tweet that word, tagging said user The program uses twe

Yasho Bapat 1 Nov 29, 2021
M3U Playlist for free TV channels

Free TV This is an M3U playlist for free TV channels around the World. Either free locally (over the air): Or free on the Internet: Plex TV Pluto TV P

Free TV 964 Jan 08, 2023
Track to Detect and Segment: An Online Multi-Object Tracker (CVPR 2021)

Track to Detect and Segment: An Online Multi-Object Tracker (CVPR 2021) Track to Detect and Segment: An Online Multi-Object Tracker Jialian Wu, Jiale

Jialian Wu 520 Dec 31, 2022
:snake: A simple library to fetch data from the iTunes Store API made for Python >= 3.5

itunespy itunespy is a simple library to fetch data from the iTunes Store API made for Python 3.5 and beyond. Important: Since version 1.6 itunespy no

Fran González 56 Dec 22, 2022
LavaAPI - A simple library for accepting payments and using the LAVA Wallet

This library was created to simplify the LAVA api provided on the official websi

Vlad Baccara 8 Dec 18, 2022
SOCMINT tool to get personal infos from an Instagram account via analysis of its followers and/or following

S T E R R A 🔭 A SOCMINT tool to get infos from an Instagram acc via its Followers / Following Allows you to analyse someone's followers, following, a

aet 316 Dec 28, 2022
Debugging with Stack Overflow: Web Search Behavior in Novice and Expert Programmers

Debugging with Stack Overflow: ICSE SEET, 2022 This is the GitHub repository associated with the 2022 ICSE SEET paper, Debugging with Stack Overflow:

Madeline Endres 1 Jan 31, 2022
Full-featured Python interface for the Slack API

This repository is archived and will not receive any updates It's time to say goodbye. I'm archiving Slacker. It's been getting harder to find time to

Oktay Sancak 1.6k Dec 13, 2022
Fully automated Chegg Discord bot for "homework help"

cheggbog Fully automated Chegg Discord bot for "homework help". Working Sept 15, 2021 Overview Recently, Chegg has made it extremely difficult to auto

Bryce Hackel 8 Dec 23, 2022
ignorant allows you to check if a phone number is used on different sites like snapchat, instagram.

Ignorant For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ ignorant does not alert the target phone number ignorant allows you to check if a phon

Palenath 513 Dec 31, 2022
This is a Python package to create a snowflake identifier similar to Discord's or Twitter's.

snowflake2 Based on falcondai and fenhl's Python snowflake tool, but with documentation and simliarities to Discord. Installation instructions Install

Learnloot 2 Mar 19, 2022
A multipurpose Telegram Bot writen in Python for mirroring files

Deepak Clouds Mirror Deepak Clouds Torrent is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google D

MR.SHAGGY 0 Dec 19, 2021
This is a TG Video Compress BoT. Product by BINARY Tech

🌀 Video Compressor Bot Product by BINARY Tech Deploy to Heroku The Hard Way virtualenv -p python3 VENV . ./VENV/bin/activate pip install -r requireme

1 Jan 04, 2022
Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.

Modern, privacy-friendly, and cookie-free web analytics. Getting started » Screenshots • Features • Office Hours Motivation There are a lot of web ana

R. Miles McCain 2.1k Jan 03, 2023
A Python Program to determine Degree of Profanity of Tweets

tweetx tweetx is a program to detect racial slurs in Twitter Tweets. Racial Abuse on Twitter is becoming quite a serious issue in recent times. tweetx

Kartik Poojari 3 Nov 11, 2021
Easy-apply-bot - A LinkedIn Easy Apply bot to help with my job search.

easy-apply-bot A LinkedIn Easy Apply bot to help with my job search. Getting Started First, clone the repository somewhere onto your computer, or down

Matthew Alunni 5 Dec 09, 2022
A course on getting started with the Twitter API v2 for academic research

Getting started with the Twitter API v2 for academic research Welcome to this '101 course' on getting started with academic research using the Twitter

@TwitterDev 426 Jan 04, 2023
Python Dialogflow CX Scripting API (SCRAPI)

Python Dialogflow CX Scripting API (SCRAPI) A high level scripting API for bot builders, developers, and maintainers. Table of Contents Introduction W

Google Cloud Platform 39 Dec 09, 2022
PunkScape Discord bot to lookup rarities, create diptychs and more.

PunkScape Discord Bot A Discord bot created for the Discord server of PunkScapes, a banner NFT project. It was intially created to lookup rarities of

Akuti 4 Jun 24, 2022
QR-Code-Grabber - A python script that allows a person to create a qr code token grabber

Qr Code Grabber Description Un script python qui permet a une personne de creer

5 Jun 28, 2022