Allow Discord Rewrite bot to respond to other botsDiscord bot and multithreadingGiphy API in Discord Bot async functionHow to make Discord bot NOT send message if no one postedDiscord - BOT sending a private messageCreate an async function for my discord bot that can be run at any timeDiscord Bot Responding to Phrase (Discord.py Rewrite)Sending Discord Messages to external applicationNameError: name 'message' is not defined. Discord bot (not rewrite)Sending messages from synchronous thread in a Python Discord botBot ignores command, no error message - Discord.py Rewrite

Why is 'additive' EQ more difficult to use than 'subtractive'?

Why do testers need root cause analysis?

Complications of displaced core material?

What is the purpose of the yellow wired panels on the IBM 360 Model 20?

Gravitational Force Between Numbers

Cisco 3750X Power Cable

Are PMR446 walkie-talkies legal in Switzerland?

How to teach an undergraduate course without having taken that course formally before?

Did Game of Thrones end the way that George RR Martin intended?

Why does Bran want to find Drogon?

Piping the output of comand columns

Are there historical examples of audiences drawn to a work that was "so bad it's good"?

How to remove new line added by readarray when using a delimiter?

Why A=2 and B=1 in the call signs for Spirit and Opportunity?

How can I get a refund from a seller who only accepts Zelle?

Goldfish unresponsive, what should I do?

"Official wife" or "Formal wife"?

Visual Block Mode edit with sequential number

Fill area of x^2+y^2>1 and x^2+y^2>4 using patterns and tikzpicture

What is the use case for non-breathable waterproof pants?

Is there an idiom that means "accepting a bad business deal out of desperation"?

Why isn't Tyrion mentioned in 'A song of Ice and Fire'?

Team has team lunch everyday, am I forced to go?

Where is Jon going?



Allow Discord Rewrite bot to respond to other bots


Discord bot and multithreadingGiphy API in Discord Bot async functionHow to make Discord bot NOT send message if no one postedDiscord - BOT sending a private messageCreate an async function for my discord bot that can be run at any timeDiscord Bot Responding to Phrase (Discord.py Rewrite)Sending Discord Messages to external applicationNameError: name 'message' is not defined. Discord bot (not rewrite)Sending messages from synchronous thread in a Python Discord botBot ignores command, no error message - Discord.py Rewrite






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















I have a Discord bot and a webhook setup for a Discord channel to send a command every hour on the dot. However it seems that Discord Rewrite by default ignores commands sent from other bots. How do I go about disabling this?



Do I need to modify something on a per-command function or the on_message function?



Current on message



@bot.event
async def on_message(message):
await bot.process_commands(message)


Edit: Found the solution



@bot.event
async def on_message(message):
ctx = await bot.get_context(message)
await bot.invoke(ctx)









share|improve this question



















  • 2





    Rather than editing you original question I would recommend posting your solution as a answer. This is a common accepted way to do this on stackoverflow. :)

    – Tim
    Mar 25 at 18:37

















2















I have a Discord bot and a webhook setup for a Discord channel to send a command every hour on the dot. However it seems that Discord Rewrite by default ignores commands sent from other bots. How do I go about disabling this?



Do I need to modify something on a per-command function or the on_message function?



Current on message



@bot.event
async def on_message(message):
await bot.process_commands(message)


Edit: Found the solution



@bot.event
async def on_message(message):
ctx = await bot.get_context(message)
await bot.invoke(ctx)









share|improve this question



















  • 2





    Rather than editing you original question I would recommend posting your solution as a answer. This is a common accepted way to do this on stackoverflow. :)

    – Tim
    Mar 25 at 18:37













2












2








2








I have a Discord bot and a webhook setup for a Discord channel to send a command every hour on the dot. However it seems that Discord Rewrite by default ignores commands sent from other bots. How do I go about disabling this?



Do I need to modify something on a per-command function or the on_message function?



Current on message



@bot.event
async def on_message(message):
await bot.process_commands(message)


Edit: Found the solution



@bot.event
async def on_message(message):
ctx = await bot.get_context(message)
await bot.invoke(ctx)









share|improve this question
















I have a Discord bot and a webhook setup for a Discord channel to send a command every hour on the dot. However it seems that Discord Rewrite by default ignores commands sent from other bots. How do I go about disabling this?



Do I need to modify something on a per-command function or the on_message function?



Current on message



@bot.event
async def on_message(message):
await bot.process_commands(message)


Edit: Found the solution



@bot.event
async def on_message(message):
ctx = await bot.get_context(message)
await bot.invoke(ctx)






python discord discord.py-rewrite






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 22:16







Cynthia Valdez

















asked Mar 23 at 21:46









Cynthia ValdezCynthia Valdez

112




112







  • 2





    Rather than editing you original question I would recommend posting your solution as a answer. This is a common accepted way to do this on stackoverflow. :)

    – Tim
    Mar 25 at 18:37












  • 2





    Rather than editing you original question I would recommend posting your solution as a answer. This is a common accepted way to do this on stackoverflow. :)

    – Tim
    Mar 25 at 18:37







2




2





Rather than editing you original question I would recommend posting your solution as a answer. This is a common accepted way to do this on stackoverflow. :)

– Tim
Mar 25 at 18:37





Rather than editing you original question I would recommend posting your solution as a answer. This is a common accepted way to do this on stackoverflow. :)

– Tim
Mar 25 at 18:37












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318704%2fallow-discord-rewrite-bot-to-respond-to-other-bots%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318704%2fallow-discord-rewrite-bot-to-respond-to-other-bots%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현